D
Dave Coz
Hi all.
I have a flat file that I take in from a vendor. based upon the days
business the 'transactions" which are in rows can be from zero (no activity)
to say 1,000 rows. I have a macro that takes the flat file and breaks into
excel rows and columns. The problem is that I do not count the rows before I
start the macro and I use "select.end(xldown)' statements to manage the data.
This does not work when there is only one (or none) row of data. Does anyone
know how to: count the rows and store that number so that I can react to
that? So if there are no transactions, I can stop the macro?
Appreciate any and all help.
Thanks
Dave
I have a flat file that I take in from a vendor. based upon the days
business the 'transactions" which are in rows can be from zero (no activity)
to say 1,000 rows. I have a macro that takes the flat file and breaks into
excel rows and columns. The problem is that I do not count the rows before I
start the macro and I use "select.end(xldown)' statements to manage the data.
This does not work when there is only one (or none) row of data. Does anyone
know how to: count the rows and store that number so that I can react to
that? So if there are no transactions, I can stop the macro?
Appreciate any and all help.
Thanks
Dave