for each question

G

Gary Keramidas

say i have set rng1 to A1:A10, rng2 to B1:b10, rng3 to C1:c10

when i do a for each loop, would ii be possible to use a variable to add
the number onto the rng?
 
T

Tom Ogilvy

No. you can't do anything like

for i = 1 to 3
msgbox (rng & i).Address
Next

What are you really trying to do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top