Excel VBA-How do I increment columns in VBA?

W

waveracerr

I want to run a macro that cycles through columns within a For loop.
can do this within a range no problem. How to do it in column
though...I don't know. Any help?

Eg. For i=1 To 4
Range("A" & (i), "BB" & (i)).Select
Next i

How can I have this code cycle through columns? Thanks!

Rya
 

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

Top