Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 136
Default R1C1 type refences in VBA for column identification

Range(Columns(1), Columns(3)).Select

John R. Reagan wrote:

How can you use R1C1 type identification when refering to columns? I would like to replace the statement
Columns("A:C").select with variables (say x and y) but cannot figure out the formating. The new statement
would look something like Columns( x & ":" & y).select.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default R1C1 type refences in VBA for column identification

another road to Rome..
Activesheet.Columns(1).Resize(,3).Select

keepITcool

JWolf wrote:
Range(Columns(1), Columns(3)).Select
John R. Reagan wrote:
would look something like Columns( x & ":" & y).select.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default R1C1 type refences in VBA for column identification

Thanks!
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
How do I turn off R1C1 reference type in Excel 2007? Mag Excel Worksheet Functions 3 March 16th 10 04:18 PM
Use dynamic column reference without R1C1 Pontificateur Excel Worksheet Functions 3 February 4th 08 10:55 PM
Procedure to change Column heading from R1C1 to A1? wmidlik Excel Worksheet Functions 2 July 15th 07 05:18 PM
Cell Refences Joe Excel Worksheet Functions 5 July 10th 07 05:54 PM
Excel column identification EngineerOldie Setting up and Configuration of Excel 2 March 15th 06 08:26 PM


All times are GMT +1. The time now is 04:14 AM.

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

About Us

"It's about Microsoft Excel"