K
Karen
I hope someone can help. I am using the following code from Access to open Word. I am using late binding because potential clients have Word 2000, Word 2002 and Word 2003.
dim objWord as Object
On Error Resume Next
Set objWord = GetObject(, "Word.Application")
If Err.Number = 429 Then
Set objWord = CreateObject("Word.Application")
End If
On Error GoTo Err_cmdPhoto
The application is an Access 2003 .mde.
I have a client who has Word 2002 on his system. When he chooses the button in the Access application to open Word he gets the 'Object variable not set' message if he does not have Word open already. If he opens Word and then minimizes it he does not get the error message.
I have tested extensively on my system and a testing partner's system. Any ideas?
dim objWord as Object
On Error Resume Next
Set objWord = GetObject(, "Word.Application")
If Err.Number = 429 Then
Set objWord = CreateObject("Word.Application")
End If
On Error GoTo Err_cmdPhoto
The application is an Access 2003 .mde.
I have a client who has Word 2002 on his system. When he chooses the button in the Access application to open Word he gets the 'Object variable not set' message if he does not have Word open already. If he opens Word and then minimizes it he does not get the error message.
I have tested extensively on my system and a testing partner's system. Any ideas?