Column References

D

Donald Lloyd

Hi,

How would I reference a range of columns using R1C1 notation.

Columns("1:10") , form example, doesn,t work - Rows("1:10") does

Thanks and regards,

Don Lloyd

--
 
R

Rob Barnard

Hi Don,

You could try referencing the range using this notation:

Range(Cells(1,1),Cells(1,10)).EntireColumn

This will select columns 1:10 as per your example.

:)

Rob
 
D

Donald Lloyd

Thanks Rob

It worked - makes life a lot easier.

I still have a feeling that there may be a more direct reference.
For example, Columns(10) is a valid reference.

Don
 

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