You can use
CommandButton1.Visible = False
If you don't want this to appear/not appear on loading your form you should
do something like this:
Sub Userform_Initialize
If range("A1").value = "N" then
CommandButton1.Visible = False
end if
End Sub
--
Message posted via
http://www.officekb.com