R
Rod Makin
I have lifted this code (below) from a macro that I run in MSWord, what
should happen is that it should open a Microsoft Access database. This piece
of code works on some machines but not others and more importantly, not mine
at the minute. What seems to be happening now is that I get the error 429
for unknown error. I just cant track down the problem. Ive looked at the
microsoft help pages but they dont help.
Sub test()
On Error GoTo error_handling
'Dim loerecord As Object
Dim loerecord As Access.Application
Set loerecord = CreateObject("Access.Application")
loerecord.Visible = True
Exit Sub
error_handling:
MsgBox "Unknown Fault :" & Err.Description & ". Error Number = " &
Err.Number
End Sub
Any ideas?
Regards
Rod
should happen is that it should open a Microsoft Access database. This piece
of code works on some machines but not others and more importantly, not mine
at the minute. What seems to be happening now is that I get the error 429
for unknown error. I just cant track down the problem. Ive looked at the
microsoft help pages but they dont help.
Sub test()
On Error GoTo error_handling
'Dim loerecord As Object
Dim loerecord As Access.Application
Set loerecord = CreateObject("Access.Application")
loerecord.Visible = True
Exit Sub
error_handling:
MsgBox "Unknown Fault :" & Err.Description & ". Error Number = " &
Err.Number
End Sub
Any ideas?
Regards
Rod