I have some vba code that was working fine yesterday. When I try to run it today, I am getting the following error "System Error &H80004005 (-2147467259). I've tried searching everywhere on how to fix it but nothing seems to work. The code I am running is below.
Option Compare Database
Function append_data5()
DoCmd.TransferSpreadsheet acImport, 8, "master_import", "T:\ACCOUNT\MANAGEMENT_REPORTING\FTE\Payroll_Files\master_import.xls", True, "master!A1:Y10000"
End Function
Can somebody please help on how I fix this error. Thanks so much!
Option Compare Database
Function append_data5()
DoCmd.TransferSpreadsheet acImport, 8, "master_import", "T:\ACCOUNT\MANAGEMENT_REPORTING\FTE\Payroll_Files\master_import.xls", True, "master!A1:Y10000"
End Function
Can somebody please help on how I fix this error. Thanks so much!