VB and check boxes in Excel

  • Thread starter Thread starter rblivewire
  • Start date Start date
R

rblivewire

Is there any way where I can VB program a check box to check when
another check box is checked?

Ex.
If me.checkbox1.checked = true then me.checkbox2.checked = true
 
you were close

If Me.CheckBox1 = True Then Me.CheckBox2 = True
 
i'm not that familiar with vb in excel as I am with it in Access. If I
click on the checkbox, how do I get to the vb code page? Also, how do
I find out the names of each check box.

I tried going to tools - macro - visual basic editor and when I try to
to input code it doesn't seem to find any of the check boxes.

Help?
 
i'm not that familiar with vb in excel as I am with it in Access. If I
click on the checkbox, how do I get to the vb code page? Also, how do
I find out the names of each check box.

I tried going to tools - macro - visual basic editor and when I try to
to input code it doesn't seem to find any of the check boxes.

Help?

If you're in Design mode then right click the checkbox then "View Code"

If you're not in Design mode then get into it by going
View|ToolBars|Control Toolbox|click on the Design mode button (Set
Square, pencil, ruler icon)

Ken Johnson
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top