View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel.programming
Charles Williams Charles Williams is offline
external usenet poster
 
Posts: 968
Default help on Converting R1C1 to A1 and A1 to R1C1..tia sa2

You can use Application.convertformula in VBA

MsgBox Application.ConvertFormula(ActiveCell.Formula, xlA1, xlR1C1)

MsgBox Application.ConvertFormula("=R" & (1 + 2) & "C" & (1 + 3), xlR1C1,
xlA1)


Charles
______________________
Decision Models
FastExcel 2.3 now available
Name Manager 4.0 now available
www.DecisionModels.com

"temp" wrote in message
m...
Greets All,
I'm looking for a formula of VB script in excel to calculate between
reference style and formula style tia sal2
Example If A1:Q18 is typed in I would like R1C1:R18C17 to show up or vise
a versa in another cell...can this be done?
Also can I add rows and coumns togather.
Example can I do this R1C1 + R2C3 = R3C4 or A1 + B2 = C3
Tia
sal2