G
Guest
Hi
I am trying to open an Access form from Word, using the following code
Sub OpenAccessFormFromWord(
'Open the source databas
Dim ac As Objec
Set ac = CreateObject("Access.Application"
Dim db As Databas
Set db = OpenDatabase("myDb"
ac.DoCmd.OpenForm "myForm
End Su
and receive error message smth like 'Form myForm cannot be opened at this time'. (As an aside, I am not sure if the Access.Application object is activated correctly..I do have DAO library checked). If someone could point me to a bit code successfully performing this task, I would be extremely grateful
Thank you.
I am trying to open an Access form from Word, using the following code
Sub OpenAccessFormFromWord(
'Open the source databas
Dim ac As Objec
Set ac = CreateObject("Access.Application"
Dim db As Databas
Set db = OpenDatabase("myDb"
ac.DoCmd.OpenForm "myForm
End Su
and receive error message smth like 'Form myForm cannot be opened at this time'. (As an aside, I am not sure if the Access.Application object is activated correctly..I do have DAO library checked). If someone could point me to a bit code successfully performing this task, I would be extremely grateful
Thank you.