Hi I have some code that opens a spreadsheet with the view of doing the following:
DoCmd.TransferSpreadsheet acImport, , "TblTransferSpreadsheet", "D:\" & filename, True, "A1:J" & lngRows
It reports back error 3251 operation not supported by this type of object.
any ideas?
if i copy the spreadsheet and create a new workbook with a different name it works.
regards
Peter
DoCmd.TransferSpreadsheet acImport, , "TblTransferSpreadsheet", "D:\" & filename, True, "A1:J" & lngRows
It reports back error 3251 operation not supported by this type of object.
any ideas?
if i copy the spreadsheet and create a new workbook with a different name it works.
regards
Peter