I have a standard excel workbook which contains 2 sheets
One of these sheets "Upload" is hidden and contains only the data I wish to import in to my db via TransferSpreadsheet.
My code reads:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, _
"tblBulkRenewalData", "H:\BulkUpload.xls", 0, "upload!"
Problem:
When the vb cmd runs it cannot locate the hidden sheet and causes an error.
Question: How I can I direct the transfer command to the hidden sheet?
All help welcomed.
Thanks
One of these sheets "Upload" is hidden and contains only the data I wish to import in to my db via TransferSpreadsheet.
My code reads:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel97, _
"tblBulkRenewalData", "H:\BulkUpload.xls", 0, "upload!"
Problem:
When the vb cmd runs it cannot locate the hidden sheet and causes an error.
Question: How I can I direct the transfer command to the hidden sheet?
All help welcomed.
Thanks