P
Pam
Hi,
I have the following for a command button on a form that opens when a report
is selected. I have a user who can't get this to work. There is no error
message, his cursor just sits. It works fine for myself and other users.
I've tried his login on my computer and it still doesn't work.
Private Sub Command10_Click()
Dim strFolderAndFile As String
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"qStatusDayCountAllJobs", "C:\DELTADB\AllJobs.xls"
Dim oApp As Object
Set oApp = CreateObject("Excel.Application")
oApp.Workbooks.Open "C:\deltadb\AllJobs.xls"
oApp.Visible = True
End Sub
Does anyone have any suggestions as to why it won't work for just this one
user's login?
Thanks,
Pam
I have the following for a command button on a form that opens when a report
is selected. I have a user who can't get this to work. There is no error
message, his cursor just sits. It works fine for myself and other users.
I've tried his login on my computer and it still doesn't work.
Private Sub Command10_Click()
Dim strFolderAndFile As String
DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9,
"qStatusDayCountAllJobs", "C:\DELTADB\AllJobs.xls"
Dim oApp As Object
Set oApp = CreateObject("Excel.Application")
oApp.Workbooks.Open "C:\deltadb\AllJobs.xls"
oApp.Visible = True
End Sub
Does anyone have any suggestions as to why it won't work for just this one
user's login?
Thanks,
Pam