R
Richhall
Apologies, I am not any sort fo expert in Visual Basic. I have a
userform which has a number of text boxes, on activation of the
userform I want the text boxes to calculate a COUNTIF based on the
worksheet that is open.
i.e
Form
Bananas [TEXT BOX]
Apples [TEXT BOX]
etc
etc
and the form code has something like the idea of (sorry no idea about
syntax)
set ws = active.worksheet
Bananas = Applicaiton.WorksheetFunction.COUNTIF("ws"!$A$9:$AL
$44,"Bananas")
Can anyone help please?
Cheers
Rich
userform which has a number of text boxes, on activation of the
userform I want the text boxes to calculate a COUNTIF based on the
worksheet that is open.
i.e
Form
Bananas [TEXT BOX]
Apples [TEXT BOX]
etc
etc
and the form code has something like the idea of (sorry no idea about
syntax)
set ws = active.worksheet
Bananas = Applicaiton.WorksheetFunction.COUNTIF("ws"!$A$9:$AL
$44,"Bananas")
Can anyone help please?
Cheers
Rich