I need to loop through all the rows in an Excel file that has data in each row. If I use Workbooks.Application.Rows.Count it returns every row (65235) or whatever. I usually just have around 100 or so rows with data in them. I'm using a For loop to do this. My code goes something like this...
For i = 1 to Workbooks.Application.Rows.Count 'Rows with data that doesn't work
.
.
.
Next
Thanks again in advance.
For i = 1 to Workbooks.Application.Rows.Count 'Rows with data that doesn't work
.
.
.
Next
Thanks again in advance.