Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,527
- Office Version
-
- 365
- 2016
- Platform
-
- Windows
I am trying to learn how to use Excel functions with VB code.
I am getting a "Compile error: Sub or Function not defined" with the following ....
I assign the variable.
I assign the function to the variable.
- Count all instances of "C" in column A
And use the value calculated.
Obviously I'm missing something.
Jenn
I am getting a "Compile error: Sub or Function not defined" with the following ....
I assign the variable.
Code:
Dim iFCCdel As Integer
Code:
iFCCdel = CountIf("A:A", "C")
And use the value calculated.
Code:
MsgBox = ("CLASS C RECORDS:" & iFCCdel)
Obviously I'm missing something.
Jenn