B
Bob Barnes
A User in another City is running an Access FE (works fine for me), and is
getting "File already exists" while running this code..
DoCmd.OutputTo acOutputQuery, "PTField", acFormatXLS, _
"C:\Documents and Settings\All Users\Documents\SelfAud\PTField.xls"
M = "The Excel File " & Chr(34) _
& "C:\Documents and Settings\All Users\" _
& "Documents\SelfAud\PTField.xls" & Chr(34) & " Is Ready." & vbCrLf & vbCrLf
M = M & "Open the File?"
O = "Open " & N & "?"
Resp = MsgBox(M, vbQuestion + vbYesNo + 0, O)
If Resp = vbYes Then Application.FollowHyperlink N
When the user clicks the Button a 2nd time, it opens correctly.
Apparently this is consistent behavior each time the User opens the FE and
runs the code.
Thoughts? TIA - Bob
getting "File already exists" while running this code..
DoCmd.OutputTo acOutputQuery, "PTField", acFormatXLS, _
"C:\Documents and Settings\All Users\Documents\SelfAud\PTField.xls"
M = "The Excel File " & Chr(34) _
& "C:\Documents and Settings\All Users\" _
& "Documents\SelfAud\PTField.xls" & Chr(34) & " Is Ready." & vbCrLf & vbCrLf
M = M & "Open the File?"
O = "Open " & N & "?"
Resp = MsgBox(M, vbQuestion + vbYesNo + 0, O)
If Resp = vbYes Then Application.FollowHyperlink N
When the user clicks the Button a 2nd time, it opens correctly.
Apparently this is consistent behavior each time the User opens the FE and
runs the code.
Thoughts? TIA - Bob