Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
converting ways of referencing cells
Look at application.convertformula in VBA's help.
It'll get you pretty close. Dim myStr As String myStr = "Sheet1!$C$4:$C$44" MsgBox Application.ConvertFormula(Formula:=myStr, _ fromreferencestyle:=xlA1, _ toreferencestyle:=xlR1C1) keith wrote: Hello, I have a cell reference that is in the form Sheet1!$C$4:$C$44 and need to convert it to the form Sheet1!R4C3:R44C3 Is there a simple programming method that will make the change for me? Keith -- Dave Peterson |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
converting ways of referencing cells
HI Dave,
Thanks very much. Keith "Dave Peterson" wrote: Look at application.convertformula in VBA's help. It'll get you pretty close. Dim myStr As String myStr = "Sheet1!$C$4:$C$44" MsgBox Application.ConvertFormula(Formula:=myStr, _ fromreferencestyle:=xlA1, _ toreferencestyle:=xlR1C1) keith wrote: Hello, I have a cell reference that is in the form Sheet1!$C$4:$C$44 and need to convert it to the form Sheet1!R4C3:R44C3 Is there a simple programming method that will make the change for me? Keith -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Ways to parse cells in mulitple selected locations | Excel Programming | |||
The error of my ways. | Excel Discussion (Misc queries) | |||
256 ways to make hamburger | Excel Worksheet Functions | |||
Ways of Summarising data | Excel Discussion (Misc queries) |