I have a spreadsheet which I am parsing with VBA to create another spreadsheet with the information in another format.
How do I know how many rows there are in the source spreadsheet and how do I know when I have finished reading all of the rows?
End Sub Tranpkp ************************************ - Let me know if this helped/worked! Please remember to give helpful posts the stars they deserve!
This facilitates others navigating through the threads / posts!
I may not know how to use the information you gave me but let me try to give a bit more information on what I want to do. I have an existing Excel spreadsheet that I want to extract certain cells from each row to create a new spreadsheet. For example. I want to place A1,A4,A7 in spreadsheet one to A1,A2,A3 in spreadsheet two. It would seem to me that I need to do something like a While (I am not at the last row + 1) do the write to the other spreadsheet. Do I need to select the whole spreadsheet before I do the While statement? I am using Excel 2000 on Windows 2000. Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.