Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The following statement gives an application error. Any suggestions why?
Range("$I$13").Formula = "=IF($I$11=$AL$1;$AM$1;$AM$2)" Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
VBA uses US english notation so change the semicolons to commas
Range("$I$13").Formula = "=IF($I$11=$AL$1,$AM$1,$AM$2)" or if this above formula would be accepted in a cell, then use FormulaLocal Range("$I$13").FormulaLocal = "=IF($I$11=$AL$1;$AM$1;$AM$2)" -- Regards, Tom Ogilvy "ojv" wrote in message ... The following statement gives an application error. Any suggestions why? Range("$I$13").Formula = "=IF($I$11=$AL$1;$AM$1;$AM$2)" Thanks. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Makes my afternoon. Thx a lot.
ojv "Tom Ogilvy" wrote: VBA uses US english notation so change the semicolons to commas Range("$I$13").Formula = "=IF($I$11=$AL$1,$AM$1,$AM$2)" or if this above formula would be accepted in a cell, then use FormulaLocal Range("$I$13").FormulaLocal = "=IF($I$11=$AL$1;$AM$1;$AM$2)" -- Regards, Tom Ogilvy "ojv" wrote in message ... The following statement gives an application error. Any suggestions why? Range("$I$13").Formula = "=IF($I$11=$AL$1;$AM$1;$AM$2)" Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Commenting custom formula fields/formula on formula editor | Excel Programming |