Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Here's the problem. I have VBA inputting this formula in the same column
(col H) of cells: ..Formula = "=if(trim(rc4)=""MS"",""MNGTS"",if(trim(rc4)=""MN" ",""MAINS"",""""))" For a single user on Excel 2007 it appears in the cell as: =if(Trim(RC4)="MS","MNGTS",if(trim(RC4)="MN","MAIN S","")) When I change the .Formula to .FormulaR1C1 then the (RC4) becomes ($D2) on row 2, which is correct. The issue is other users of the same template with Excel 2007 don't have this problem. I also put in (rc[-4]), which also works, but I need to specifically reference Col D so the column that has the formula may change. Our office is slowly migrating to 2007 and since I do all the VBA programming I'm still on 2003... Is there some setting that needs changing in '07? -- MacGuy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
FormulaR1C1 ? | Excel Programming | |||
Using Text in a Formula or FormulaR1C1 property | Excel Programming | |||
FormulaR1C1 v Formula | Excel Programming | |||
What Does FormulaR1C1 Do? | Excel Programming | |||
What Does FormulaR1C1 Do? | Excel Programming |