Registering and logging in removes this ad.

Registering and logging in removes this ad.
Outlook 2003 macros
Submitted by Matt Chambers on Wed, 05/23/2007 - 15:21.
Do any of you have a macro that will manipulate attachments to messages in Outlook 2003?
I just was “migrated” to Windows XP and Office 2003 last night. The good news is that our IT department was able to figure out how to install naturally speaking, notwithstanding all the new security junk we have. The bad news is that I seem to have lots of syntax errors with my Outlook macros. For some reason, this statement:
Dim attach As Attachment
Is causing problems.
I tried
Dim attach As Outlook.Attachments
But that doesn't work either.


oops, did you set (again)
oops, did you set (again) the references (right click in the sub main window of the command browser)?
Microsoft Outlook 11 object library...
Quintijn
Yes, I did.
Yes, I did.
I figured it out. I had not
I figured it out. I had not changed the “window title” from “Microsoft Outlook” to “Microsoft Office Outlook”. Don't ask me why that resulted in the syntax problem, but it did. The object reference was right.