Thread
:
Macro repeats and then stops
View Single Post
#
2
Posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
Posts: 10,124
Macro repeats and then stops
as ALWAYS, post your code for comments but something along this idea
lr=cells(rows.count,2).end(xlup).row
for i=2 to lr
do your thing
next i
--
Don Guillett
SalesAid Software
"Sabba Efie" wrote in message
...
I have two columns of data. I have written a macro to operate on the data
from the first column (i.e. copy, paste, move cursor, etc.). I want that
macro to repeat for the data in column 1 as long as there is data in
column
2. When a blank cell in column 2 is reached the macro should stop.
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett