Refer to column in range statement

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi. How can I refer to the column in a range statement? For instance, the
column could be "AO" and I can get the column number, but I don't know how to
refer to it in the following Range statement. Note that the column will
change. I do have a variable called "ColNum"

Range("B1:AO4")

Thanks,
Mike.
 
Range("B1",.cells(4,colnum))

would be one way.
Hi. How can I refer to the column in a range statement? For instance, the
column could be "AO" and I can get the column number, but I don't know how to
refer to it in the following Range statement. Note that the column will
change. I do have a variable called "ColNum"

Range("B1:AO4")

Thanks,
Mike.
 

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

Back
Top