J
JethroUK
Anyone see why this wont work?:
Dim oApp As Object
Set oApp = GetObject("InviteToInduction.doc", "Word.Application")
oApp.Visible = True
I get 'classname not found' - Tried it without the class:
Set oApp = GetObject("InviteToInduction.doc")
Get 'invalid syntax'
Filename is correct - Not using a path because the file is local (Tried it
with full path - still no go) - CreateObject works with new app
Dim oApp As Object
Set oApp = GetObject("InviteToInduction.doc", "Word.Application")
oApp.Visible = True
I get 'classname not found' - Tried it without the class:
Set oApp = GetObject("InviteToInduction.doc")
Get 'invalid syntax'
Filename is correct - Not using a path because the file is local (Tried it
with full path - still no go) - CreateObject works with new app