Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Column References

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

--



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Column References

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
-----Original Message-----
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

--



.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Column References

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
--

"Rob Barnard" wrote in message
...
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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alpha column references grono Excel Discussion (Misc queries) 1 July 5th 07 01:18 PM
Alpha column references grono Excel Discussion (Misc queries) 0 July 5th 07 01:06 PM
how to change column references, while filling down another column bclancy12 Excel Discussion (Misc queries) 1 June 7th 06 04:13 PM
Row and Column References Bill K Excel Discussion (Misc queries) 2 May 3rd 06 09:35 PM
Variable Column references Gidders Excel Worksheet Functions 1 July 15th 05 07:54 PM


All times are GMT +1. The time now is 03:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"