Click here to Skip to main content
15,884,298 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have windows form application. It has a datagridview in it that tracks time and activity.
I have to save every new row into and excel file that is formatted and runs a macro.
I have tried to locate the last row of the sheet where i have to "copy" my new rows string.
But when i run the find in the range it throws row 10015.
Could it be because of the macro prepopulates certain rows? If so how can i find the last used row between those?
Any help is greatly appreciated!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900