Code to switch from Outlook as editor to Word and back

G

Guest

I am not a programmer. I know how to create macros in Word (by recording) but
not Outlook.

I'm using Outlook 2003. The only time I want to use Word as my email editor
is when I need to create a hyperlink to a file using a simple browse.

I'd like to be able to quickly switch from Outlook as editor to Word, then
back. Has anyone seen any code to do this?

And if you send me the code, what do I do with it? I'm hoping all I'll have
to do is open the VB editor and paste it in. Then go to Customize and drag
the command to the toolbar.

Thanks in advance.
 
K

Ken Slovak - [MVP - Outlook]

The setting for WordMail is kept in the registry and only read by Outlook on
startup. After that the setting and any changes are kept in a cached setting
in Outlook. The registry setting is updated when the Outlook setting is
changed but never read back except on startup. So any changes you make would
not take effect until you exited and restarted Outlook.
 
G

Guest

I'm able to switch back and forth without restarting Outlook. What I'm
looking for is the code to do the Tools, Options, Mail Format tab, Word as
editor, OK. Then I'd like to create another button that will untick Word as
the editor.

Hope this makes sense. Thanks in advance.
--
Peggy Duncan, Author
Conquer Email Overload with Outlook
http://www.PeggyDuncan.com
 
K

Ken Slovak - [MVP - Outlook]

Right, as I said any changes you make in the UI are written back to the
registry and the change is made from the cached settings that Outlook holds.
It does not re-read that setting in the registry until it restarts and the
Options dialogs are not available to you in code at all, nor is any way of
making Outlook update its cached settings except from the UI. What you want
to do cannot be done.
 

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