sunshine076
Registered User.
- Local time
- Today, 07:54
- Joined
- Apr 6, 2009
- Messages
- 160
I am somewhat new to using VBA and I have used the basic countif function but would like to use VBA and have it store the answer in a different cell without the msgbox. I plan to use this information later. Any suggestions would be helpful.
Here is what I am presently trying to use.
Option Explicit
result As Integer
ce = y
CN = n
application.WorksheetFunction.countif(range("F4:F48"),ce.value)
this keeps erroring out after the range and then from there I would like the result to show up in a cell for a future count.
Here is what I am presently trying to use.
Option Explicit
result As Integer
ce = y
CN = n
application.WorksheetFunction.countif(range("F4:F48"),ce.value)
this keeps erroring out after the range and then from there I would like the result to show up in a cell for a future count.
Last edited: