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
|