Does anyone know the code to have access activate Microsoft Word and then have Microsoft Word open a report that wasn't generated by access?
I use the following to activate Microsoft word, but I don't know the code to tell it to open a document that wasn't generated by access....
On Error GoTo Err_Command76_Click
Dim oApp As Object
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
Exit_Command76_Click:
Exit Sub
Err_Command76_Click:
MsgBox Err.Description
Resume Exit_Command76_Click

I use the following to activate Microsoft word, but I don't know the code to tell it to open a document that wasn't generated by access....
On Error GoTo Err_Command76_Click
Dim oApp As Object
Set oApp = CreateObject("Word.Application")
oApp.Visible = True
Exit_Command76_Click:
Exit Sub
Err_Command76_Click:
MsgBox Err.Description
Resume Exit_Command76_Click
