strangeryet
Programmer
I have code that imports an Excel spreadsheet into an Access table. The import works, but includes blank lines from the Excel sheet in the import. How can I control this and only import lines with data? Below is the do command I am using:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8, "tblExlCshd", "c:\My Documents\Bank\cshd" & strMnth & ".xls", False, "C:E"
Thanks
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8, "tblExlCshd", "c:\My Documents\Bank\cshd" & strMnth & ".xls", False, "C:E"
Thanks