Macro to open stationery

C

Clang

Using Outlook 2003

Is it possible to create a macro that will open a different stationery than
the default?
 
C

Clang

Sue, thanks for the reply.

I have looked at Eric's solution but it isn't quite what I am looking for.
I would like a macro that will open a new message with a different stationery
other than the default.
 
S

Sue Mosher [MVP-Outlook]

That's exactly what his ApplyStationeryFormatting procedure does -- applies a particular stationery to a message. In his application, the user chooses the stationery from a list, but you could certainly modify his procedure to pass the stationery name as a parameter.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
C

Clang

Sue,

OK I finally got it to work but now I do not have a choice of when I want to
use the special stationery I selected. When I select the "New" message
button it brings up the new stationery. I would like the "New" button to
work as it originally did and want to add an additional button for when I
want to use the special stationery.

Is this possible.
 
S

Sue Mosher [MVP-Outlook]

What is your stationery setting in Tools | Options | Mail Format?

It would help if you provided complete details of how you adapted Eric's technique to your specific scenario. You should have written a macro to create a new message and then apply stationery to it using his procedure. Is that what you did?

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
C

Clang

Oops, sorry I still had my station selected in Tools|Options|Mail Format. If
I change this back to none or blank then the macro does not work.

It first indicates "You must initiate a reply to an e-mail before you can
apply stationery formatting" (I want to be able to use it for a new message)
and if I do try it with a replay I do not find my stationery in the list.
 
S

Sue Mosher [MVP-Outlook]

Eric's full application works with replies, by design. To make it work with new messages, you would need to adapt it along the lines I indicated earlier.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54
 
Top