OK, assuming you have copied the macro to a module in your Word document,
a. open the VB Editor
b. open the module
c. go to Tools|References. Look down the list for Microsoft Outlook 11.0
Object Library, check the box to the left of that item, then click OK
If you are using Outlook 2002, you'll need Microsoft Outlook 10.0 Object
Library instead, etc. etc.
Peter Jamieson
"Albert" wrote in message
news
Hello Peter...
I don't know how to do this... Could you give me a hand?
"Peter Jamieson" wrote:
You have to make a reference to Microsoft Outlook 11.0 Object Library (or
the appropriate version of the library) in the VB Editor when this module
is
open.
Thanks,
Albert