View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Harlan Grove Harlan Grove is offline
external usenet poster
 
Posts: 733
Default R1C1 and the $ sign

Adrian T wrote...
If I do this..
ActiveWorkbook.Worksheets("Sale").Range("E11").Fo rmula = "=R1C1"

I get..
=$A$1 in my E11

Is there a way to get rid the dollar signs? What I want is =A1.


It's SUCH a bother to read online help isn't it? There's a topic there
titled 'About R1C1 references' that explains the syntax.

However, why aren't you simply using

ActiveWorkbook.Worksheets("Sale").Range("E11").For mula = "=A1"

?

Indeed, using the .Formula property to enter formulas using R1C1
references should generate Excel formula syntax errors. So, are you
actually using the .FormulaR1C1 property?