Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
In a spreadsheet I insert a very simple formula : Range("I1").Select ActiveCell.FormulaR1C1 = "=COUNTIF(A:A,""*"")" Range("I2").Select Cell I1 gives an error #NAME?, but when selecting this cell, put cursor after last char and press enter, the right value appears ! So i did NOT modify it only place cursor and hit enter ... Any thoughts ? -ben |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use ActiveCell.Formula rather than ActiveCell.FormulaR1C1. E.g,.
ActiveCell.Formula = "=COUNTIF(A:A,""*"")" Cordially, Chip Pearson Microsoft MVP Excel Product Group Pearson Software Consulting, LLC www.cpearson.com (email on web site) On Thu, 27 Nov 2008 08:06:12 -0800 (PST), wrote: Range("I1").Select ActiveCell.FormulaR1C1 = "=COUNTIF(A:A,""*"")" Range("I2").Select |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
I Need get work this formula | Excel Worksheet Functions | |||
MY FORMULA WON'T WORK.. WHY?? | Excel Worksheet Functions | |||
Cant quite get this formula to work: | Excel Worksheet Functions | |||
A search for $ in a formula use to work now it does not work | Excel Discussion (Misc queries) | |||
How does this formula work | Excel Worksheet Functions |