What do you plan to do with this data?
Do you really need all those rows of information?
If not, I would suggest building simple queries to
get only the rows that you would need, and hopefully
that would be less than 65536 rows.
Otherwise, you could build a bunch of queries that pull
out 65,000 rows and save each one to an excel file and then
recombine them into one workbook.
If you really want to do this in Excel, you are in a world of hurt. I have done this before, and Excel has a very diffucult time handling all of this data, especially if you try to put it all in one workbook. But the way I did it was to first save it as a external TEXT file, then open it with MSword, then decide which page of the data in MSword would end around row 60,000. I have found with most of my data, page 1,000 is a good ending point. anyway, I would go to page 1,000, then CUT and paste to Excel. then repeat the process again. very manual, time consuming, and frustrating.
Second option is to do it all this in Access. You might want to do a query so that each number of your eight digits is in a single (field), then concatenate the fields to 3 fields so that it is of 4 digit(year) 2 digit(month) and 2 digit(date). then finally do another query to put it all together in MMDDYYYY format so you can validate.
cheers,
Thomas
You may be able to write something similar in Access VB.
Unfortunately, I need to check every row of data for possible invalid dates. The text file is an export of mainframe data that contains the date as an 8 digit number (not Julian) - for example 14th August 2000 would be 20000814. I have a macro in Excel that transforms this 8 digit number into a real date (if possible) and reports any errors so that I can track down the incorrect data on the mainframe and get it fixed there.
I have been running queries to extract 65000 rows of data at a time, but it's a bit time consuming and I was wanting to know of there was any way of automating that extraction process.
JAF What do you plan to do with this data?
You may be able to write something similar in Access VB.
I am unfamiliar with this dialect of VB, but maybe you can
find a site with people more familiar with Access.
mraccess.com? =^)
Actually, that is a real site and has nothing to do with Access. Unfortunately, I need to check every row of data for possible invalid dates. The text file is an export of mainframe data that contains the date as an 8 digit number (not Julian) - for example 14th August 2000 would be 20000814. I have a macro in Excel that transforms this 8 digit number into a real date (if possible) and reports any errors so that I can track down the incorrect data on the mainframe and get it fixed there. I have been running queries to extract 65000 rows of data at a time, but it's a bit time consuming and I was wanting to know of there was any way of automating that extraction process. : What do you plan to do with this data?