C
cecil23
I have a worksheet that may use up to 60000 rows. Many rows are blan
or have N/A in one or more columns. I then sort it, so that the usefu
info runs from the row 1 down to somewhere between 4000 to 10000 rows.
Before I try to import into Access, I want to run a macro from anothe
sheet in the workbook that deletes all rows below the useful info.
can find that row simply enough by doing a match on "N/A" in Col A.
save the results of that formula as a range name, say StartRowDel.
Say, in this set of data, the first N/A is on row 4561, so the macr
should delete from row 4561 to 60000.
What's the VBA code for that? (Seems this should be simple... gues
it's time to learn VBA...)
Thanks for the help
or have N/A in one or more columns. I then sort it, so that the usefu
info runs from the row 1 down to somewhere between 4000 to 10000 rows.
Before I try to import into Access, I want to run a macro from anothe
sheet in the workbook that deletes all rows below the useful info.
can find that row simply enough by doing a match on "N/A" in Col A.
save the results of that formula as a range name, say StartRowDel.
Say, in this set of data, the first N/A is on row 4561, so the macr
should delete from row 4561 to 60000.
What's the VBA code for that? (Seems this should be simple... gues
it's time to learn VBA...)
Thanks for the help