Will Outlook run a Word macro?

B

Bob Igel

I have a Macro that I built using the "record new macro" function in MS Word
XP. I copied and pasted the form to OL, but it will not run there. Error msg
reads "Error 424. Object required."

I know nothing about VBA programming (guess you figured that out). Is there
no simple way to take a macro created in Word and make it run in Outlook?

Thanks for helping a newbie.

Bob in Atlanta.
 
G

Guest

You need set a reference to the Microsoft Word X.0 Object Model in the
References dialog within the VBA Editor.

You may also need to alter the Word macro to set a reference to the document
you are automating, and hook it into the event or action where you want it to
run using the Outlook Object Model.

There are some great resources on VBA programming in Outlook at this link:

Visual Basic and VBA Coding in Microsoft Outlook:
http://www.outlookcode.com/d/vb.htm
 

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