ShaunD30
Board Regular
- Joined
- Jun 19, 2008
- Messages
- 172
Ok...Trying to get a "do until" loop.
I have
Finalrow = Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row
Finalrow2 = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
I need my "Do until" loop to run until the activecell in sheet1 =finalrow
I tried "Do until activecell.row=Finalrow", however that didn't work because it ended my macro too soon.
I tried "Do until sheets("Sheet1").Activecell.row=Finalrow
But it won't accept that.
any idea on how I need to word this so it works?
Shaun
I have
Finalrow = Sheets("Sheet1").Cells(Rows.Count, 1).End(xlUp).Row
Finalrow2 = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
I need my "Do until" loop to run until the activecell in sheet1 =finalrow
I tried "Do until activecell.row=Finalrow", however that didn't work because it ended my macro too soon.
I tried "Do until sheets("Sheet1").Activecell.row=Finalrow
But it won't accept that.
any idea on how I need to word this so it works?
Shaun