Thread: [Solved] Vault lock mail copy
View Single Post
Old 08-19-2013, 09:57 AM
msperry msperry is offline Windows 7 64bit Office 2010 64bit
Competent Performer
Join Date: Jul 2011
Location: Jacksonville, Florida, US
Posts: 141
msperry is on a distinguished road


The problem is that the Outlook Application object cannot be initialized with a New statement, you need to grab the copy of Outlook that is already running like so:

Dim olApp As Outlook.Application
olApp = GetObject(, "Outlook.Application")

BTW, you might be better off to check out the Outlook programmers forum at, or possibly

Good luck!

- Mike
Reply With Quote