Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Translating A1 format to R1C1 format addresses?
I'm in VBA, creating spreadsheets.
Have fallen into the habit of making the created spreadsheet's column format "R1C1". Much more convenient for iterating through columns and rows.... But when I create a .Range and then take .Address, it comes back in "$A$1:$B$1" format. Am I getting the .Address the wrong way? Or do I need to be able to translate the address to RowColumn format? -- PeteCresswell |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Translating A1 format to R1C1 format addresses?
Per (PeteCresswell):
Am I getting the .Address the wrong way? Or do I need to be able to translate the address to RowColumn format? Oops! Got it. -------------------------------------------- ?myDataRange.Address(ReferenceStyle:=xlR1C1) R2C1:R14C4 -------------------------------------------- -- PeteCresswell |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
R1C1 format using a variable? | Excel Discussion (Misc queries) | |||
referencing ranges using R1C1 format | Excel Programming | |||
Variable Reference in R1C1 format | Excel Programming | |||
VBA Newbie, Positioning according to R1C1 format | Excel Programming | |||
Translating Column Addresses into number/integer | Excel Programming |