Hi Everyone,
Well I didn't think that I would be stopped here, but I'm having issues understanding the logic associated with basic excel functions when their used in VBA code. I'm trying to use the "CountIf" function inside my VBA code to count the total text boxes that have no value entered into them. I need to run this total through a later equation to account for the total number survey questions not answered. The logic should look like this:
- Count if "textbox A" has no value
+
- Count if "textbox B" has no value
+ .....N = 20 text boxes.
At the moment my attempts look like this:
The full equation would be: (60 - ((Total number empty text boxes) * 3))
I've added my worksheet in question in case I'm not explaining clearly enough. The code is under our calculate button for our "Penn Shoulder" user form.
Thank you Everyone!
Bookmarks