View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
abxy[_39_] abxy[_39_] is offline
external usenet poster
 
Posts: 1
Default Where does this code go?

I don't know where to insert this code into my UserForm code so that i
works...cause, from my understanding this code should work(but it's no
working), so it must just be in the wrong Private Sub. Here's th
code:

If checkbox1.Value = False And checkbox2.Value = False An
checkbox3.Value = False Then

CommandButton1.Enabled = False

Else

CommandButton1.Enabled = True

End If

and correct me if i'm wrong, but if a checkbox is not enabled, it'
value is considered false, right?

Thanks for your hel

--
Message posted from http://www.ExcelForum.com