Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Code to switch from Outlook as editor to Word and back (http://www.outlookbanter.com/outlook-vba/42384-code-switch-outlook-editor-word.html)

Worksmart March 2nd 07 05:48 PM

Code to switch from Outlook as editor to Word and back
 
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.
--
Peggy Duncan, Author
Conquer Email Overload with Outlook
http://www.PeggyDuncan.com


Ken Slovak - [MVP - Outlook] March 2nd 07 07:22 PM

Code to switch from Outlook as editor to Word and back
 
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Worksmart" wrote in message
...
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.
--
Peggy Duncan, Author
Conquer Email Overload with Outlook
http://www.PeggyDuncan.com



Worksmart March 2nd 07 11:57 PM

Code to switch from Outlook as editor to Word and back
 
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



"Ken Slovak - [MVP - Outlook]" wrote:

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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Worksmart" wrote in message
...
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.
--
Peggy Duncan, Author
Conquer Email Overload with Outlook
http://www.PeggyDuncan.com




Ken Slovak - [MVP - Outlook] March 7th 07 04:42 PM

Code to switch from Outlook as editor to Word and back
 
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.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Worksmart" wrote in message
...
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




All times are GMT +1. The time now is 09:02 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com