LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 98
Default Mixture of Control and forms checkboxes.


Hi I have a sheet that has changed over the years and has a mix of Form
checkboxes and control checkboxes. (There are af ew so don't want to change
to all of the same type).

I use the code below so that if checkbox 3 from the control menu is checked,
the Forms checkbox 4 is not enabled and it greys out.

Sub CheckBox3()
If Sheet("sheet1").CheckBoxes("Check Box 3").Value = True Then
Sheet("sheet1").CheckBoxes("Check Box 4").Value = xlMixed
Sheet("sheet1").CheckBoxes("Check Box 4").Enabled = False
Else
Sheet("sheet1").CheckBoxes("Check Box 4").Enabled = True
End If
End Sub


Can I do the same so that a forms checkbox can disable another forms
checkbox, can this then be run on the sheet or will it need to be a module?
--
This post was created using recycled electrons!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forms - Checkboxes Jane Excel Worksheet Functions 3 October 3rd 06 02:21 PM
Checkboxes on forms Rmagic[_2_] Excel Programming 2 November 12th 05 10:26 AM
Forms control checkboxes on charts Tom Ogilvy Excel Programming 2 September 14th 04 12:35 AM
Forms control checkboxes on charts routeram Excel Programming 1 September 13th 04 12:38 AM
Forms control checkboxes on charts Dave Peterson[_3_] Excel Programming 1 September 13th 04 12:12 AM


All times are GMT +1. The time now is 08:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"