Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Worksheets and Control Option Buttons

I am running Excel 2002. I have a Workbook with 4 worksheets. I created a
Control Option Button (OptBtn01) on Sheet1. I have a Control Check Box
(ChkBx01) on Sheet4. I would like to change Control Check Box (ChkBx01) to
disabled (Enabled = False) whenever the Control Option Button (OptBtn01)
Value is True. Can anyone help?

Thanks in advance.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Worksheets and Control Option Buttons

I put this under sheet1:

Option Explicit
Private Sub OptBtn01_Change()
Worksheets("sheet4").OLEObjects("ChkBx01").Enabled _
= CBool(Me.OptBtn01.Value = False)
End Sub




KHaydel wrote:

I am running Excel 2002. I have a Workbook with 4 worksheets. I created a
Control Option Button (OptBtn01) on Sheet1. I have a Control Check Box
(ChkBx01) on Sheet4. I would like to change Control Check Box (ChkBx01) to
disabled (Enabled = False) whenever the Control Option Button (OptBtn01)
Value is True. Can anyone help?

Thanks in advance.


--

Dave Peterson
Reply
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
Keeping Control Buttons Still ZipCurs Excel Worksheet Functions 1 December 14th 05 10:41 PM
Using 'Option Buttons' Julian Excel Discussion (Misc queries) 3 August 17th 05 07:36 PM
Option Buttons Ashman Excel Discussion (Misc queries) 2 July 10th 05 08:24 PM
yes/no option buttons Evanya Excel Discussion (Misc queries) 4 May 28th 05 12:19 AM
How do I create a form in a worksheet with control option buttons. andreah New Users to Excel 2 April 23rd 05 01:12 AM


All times are GMT +1. The time now is 04:23 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"