Can someone help me modify this formula vba?
HTML Code:
How come the code ActiveCell.Formula = "=COUNTIF(VariableTop:VariableBottom)" doesn't work?
Can someone help me modify this formula vba?
HTML Code:
How come the code ActiveCell.Formula = "=COUNTIF(VariableTop:VariableBottom)" doesn't work?
Last edited by alexduy; 12-08-2014 at 03:23 PM.
enter the formula where?
Never mind, I see you want it in the active cell
Click the * to give Rep to a post you like.
Your formula has a circular reference, and COUNTIF needs a criteria.
Please Login or Register to view this content.
One reason the OP code doesn't work is that COUNTIF requires two arguments, the OP is only giving it one range.
Try
Please Login or Register to view this content.
_
...How to Cross-post politely...
..Wrap code by selecting the code and clicking the # or read this. Thank you.
Thank you all, it was helpful.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks