S
Sean
Hi,
My question is how do I alter the data in an excel spreadsheet before
importing into access. Specifically, how do I delete criteria meeting rows
from an excel spreadsheet?
There is an application that my department and another use to generate
some data. This data is exported automatically into an excel file. I use
the following code to import the data into Access:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8,
"tblUploadRecordCount", "U:\Batching Files\BatchControl.xls", True
The problem is that the data for my department uses a unique numeric
identifier for records, where the other department uses random alpha numeric
system. So, what I want is to keep the rows where the data in column A is
like 000000 (a number exactly six digits in length), and strip off anything
that has alpha characters or is not exactly 6 digits in length.
Thanks,
Sean
My question is how do I alter the data in an excel spreadsheet before
importing into access. Specifically, how do I delete criteria meeting rows
from an excel spreadsheet?
There is an application that my department and another use to generate
some data. This data is exported automatically into an excel file. I use
the following code to import the data into Access:
DoCmd.TransferSpreadsheet acImport, acSpreadsheetTypeExcel8,
"tblUploadRecordCount", "U:\Batching Files\BatchControl.xls", True
The problem is that the data for my department uses a unique numeric
identifier for records, where the other department uses random alpha numeric
system. So, what I want is to keep the rows where the data in column A is
like 000000 (a number exactly six digits in length), and strip off anything
that has alpha characters or is not exactly 6 digits in length.
Thanks,
Sean