Change Outlook 2003 Reading Pane In VBA

D

djcr2005

Does anyone know how to programatically change the Reading Pane in
Outlook 2003 using VBA?

We are deploying new Windows XP computers and the first thing I tried
was creating a default profile with Outlook set to have the reading
pane appear at the bottom. The default profile also contains a .PRF
file that creates the MAPI profile when the user logs in for the first
time. However, when a new user logs on the settings do not stick and
the reading pane appears on the right (which is the default).

Since I could not find anything in VBA to change the reading pane, my
solution was to simulate keystrokes in a macro using the SendKeys
method:

SendKeys ("%v")
SendKeys ("n")
SendKeys ("b")
DoEvents

These keystrokes simulate clicking on the menu items and manually
setting the reading pane. This works fine on my computer. Naturally it
does not work all the time on every computer and it's frustrating.

Any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top