Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hello, this might be a very basic problem but I cannot find the solution to it in Excel Help. There are many instances when I need to use Range instead of Cell to refer to a cell. For example methods such as ClearContents only work on Range not on Cell. However, it seems as if Range only takes the A1 format which drives me crazy. Most of the time I am looping through rows and columns and therefore will have their integer values, i.e. the location of a cell or array in R1C1 format but not in the A1 format. How can I refer to cell R5C3 for example using Range? Supposedly there is a second syntax for Range which should work as follows Range(Cells(5,3),Cells(5,3)) but whenever I try to use that I get runtime errors. Am I getting this wrong and is there another, better method to quickly convert a simply R1C1 format address into A1 format or to use Range with the R1C1 format? Thanks for your help, Peter -- pwermuth ------------------------------------------------------------------------ pwermuth's Profile: http://www.excelforum.com/member.php...o&userid=24997 View this thread: http://www.excelforum.com/showthread...hreadid=385424 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I change default cell referencing in excel from R1C1 to A1? | Excel Discussion (Misc queries) | |||
Can't Cancel r1c1 cell referencing in excel 2007 | Excel Discussion (Misc queries) | |||
R1C1 referencing | Excel Worksheet Functions | |||
referencing ranges using R1C1 format | Excel Programming | |||
Assign names to R1C1 referencing | Excel Programming |