Detecting if i'm in Word or Outlook.

T

Tim cadieux

Ok, I already have a project running in Word. When a
client runs my macro, it opens the WordDialog and allows
them to save their documents to predefined locations with
the BuiltInProperties filled out. When in outlook, this
Macro appears because word is our editor. My clients
would like to continue to be able to use it to save
Emails.

I need to be able to detect whether or not the client in
in Word or Outlook when the macro is fired so that I could
change the Extension to either .Doc or .Msg



Any ideas?



Tim
 

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