M
Mark S.
I'm creating what will eventually be a COM Add-In...
It places a toolbar on an Inspector when opening
MailItems. When Word is the email editor, the toolbar
button click attempts to run the macro specified in the
OnAction property, but within Word which is
the "container" application (as documented).
1. Is there a way to specify that the OnAction macro
should run within Outlook?
2. As a last resort, I can include code in a .dot
template file, or another COM Add-In for Word, but the
toolbar would only be meaningful if one were composing
emails. Is there a method to determine if Word is being
invoked by Outlook as it's email editor?
It places a toolbar on an Inspector when opening
MailItems. When Word is the email editor, the toolbar
button click attempts to run the macro specified in the
OnAction property, but within Word which is
the "container" application (as documented).
1. Is there a way to specify that the OnAction macro
should run within Outlook?
2. As a last resort, I can include code in a .dot
template file, or another COM Add-In for Word, but the
toolbar would only be meaningful if one were composing
emails. Is there a method to determine if Word is being
invoked by Outlook as it's email editor?