[AccessD] Interesting VBA problem

Mark Simms marksimms at verizon.net
Wed Oct 16 07:45:29 CDT 2013


I've got an AC2010 app that must use late-binding.
I'm an instantiating an Outlook session.
However, I need to reference a SyncObject WithEvents.
However, what do I Dim it as ?
Private oSync WithEvents as Outlook.SyncObject

Tried Private oSync WithEvents as EventObject
By the compiler complained !

Dim oSync as Access.CustomControl

That worked, but the call back will probably fail, correct ?

Someone said it might work if I:
Set oSync = CreateObject("Outlook.SyncObject")





More information about the AccessD mailing list