Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
J J is offline
external usenet poster
 
Posts: 1
Default Using Range with R1C1 notation in a macro

I have found plenty of references for using the Range
property in a macro ie: Range("A1:B5").select. In
addition I have used Cells(Irow,ICol) plenty of times.
Now I want to set a Range in a similar fashion as I did
the Cells using variables. Does anyone have any
suggestions?

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Using Range with R1C1 notation in a macro

Not sure what you are looking for. Perhaps:

Range(Cells(Row1, Column1), Cells(Row2, Column2))

--

Vasant


"J" wrote in message
...
I have found plenty of references for using the Range
property in a macro ie: Range("A1:B5").select. In
addition I have used Cells(Irow,ICol) plenty of times.
Now I want to set a Range in a similar fashion as I did
the Cells using variables. Does anyone have any
suggestions?

Thank you



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
Range selection with R1C1 Adam1 Chicago Excel Discussion (Misc queries) 6 November 8th 07 04:02 PM
How do I change sheet notation from R1C1 style to A1 style in XL 2 Sherlock1506 Setting up and Configuration of Excel 1 December 5th 06 03:22 PM
Absolute reference in R1C1 notation Tim C Excel Programming 2 August 14th 03 11:54 PM
R1C1 Notation brym Excel Programming 4 July 27th 03 09:47 PM
Macro records in R1C1 style Otto Moehrbach[_3_] Excel Programming 2 July 23rd 03 03:35 PM


All times are GMT +1. The time now is 12:25 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"