I have created a brand new excel book. I've added a sheet and named it. now I want to save the file, but I can't seem to get it to work.
' xlBook.SaveAs(gstrExcel_Path & "CallerID.xlsx")
This is the error I get. what I don't understand is the number D94B8010 that is at the end of the path it's not part of the string value.
'{"Microsoft Excel cannot access the file 'c:\users\default\desktop\D94B8010'. There are several possible reasons:
'? The file name or path does not exist.
'? The file is being used by another program.
'? The workbook you are trying to save has the same name as a currently open workbook."}
' xlBook.SaveAs(gstrExcel_Path & "CallerID.xlsx")
This is the error I get. what I don't understand is the number D94B8010 that is at the end of the path it's not part of the string value.
'{"Microsoft Excel cannot access the file 'c:\users\default\desktop\D94B8010'. There are several possible reasons:
'? The file name or path does not exist.
'? The file is being used by another program.
'? The workbook you are trying to save has the same name as a currently open workbook."}