View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mike News Mike News is offline
external usenet poster
 
Posts: 3
Default Common routine to handle a check box

I have a checkbox on a userform, and in a procedure I want to

make the checkbox invisible and
set it to false

Sub blob(x As CheckBox)
x.Visible = False
x = False
End Sub

So I have the above routine, but when am I calling it, how do I call
blob
blob(checkbox1) doesn't work because it's pass the value in I think
which is a boolean, and not of type checkbox
--
Mike