Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Checkboxes on forms


Hello

I have a user form

With a couple of option buttons and check boxe and command button

Is it poss to make the option buttons unload then selfs and fade out
(Stop working) if the check box is seleted

eg
option 1= wood
option 2= metal

if checkbox is ticked the 2 above unload (both become false and not
able to selet them unitl the checkbox is unticked )

hope makes sense

Thanks


--
Rmagic
------------------------------------------------------------------------
Rmagic's Profile: http://www.excelforum.com/member.php...o&userid=28595
View this thread: http://www.excelforum.com/showthread...hreadid=484511

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Checkboxes on forms


Hello Rmagic,


Code
-------------------

If CheckBox1.Value = True Then
OptionButton1.Value = False
OptionButton2.Value = False
OptionButton1.Enabled = False
OptionButton2.Enabled = False
Else
OptionButton1.Enabled = True
OptionButton2.Enabled = True
End If

-------------------


Sincerely,
Leith Ros

--
Leith Ros
-----------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...fo&userid=1846
View this thread: http://www.excelforum.com/showthread.php?threadid=48451

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Checkboxes on forms

Hi Rmagic,

Try:

Private Sub CheckBox1_Click()
Me.OptionButton1.Visible = Not Me.CheckBox1
Me.OptionButton2.Visible = Not Me.CheckBox1
End Sub

--

---
Regards,
Norman



"Rmagic" wrote in
message ...

Hello

I have a user form

With a couple of option buttons and check boxe and command button

Is it poss to make the option buttons unload then selfs and fade out
(Stop working) if the check box is seleted

eg
option 1= wood
option 2= metal

if checkbox is ticked the 2 above unload (both become false and not
able to selet them unitl the checkbox is unticked )

hope makes sense

Thanks


--
Rmagic
------------------------------------------------------------------------
Rmagic's Profile:
http://www.excelforum.com/member.php...o&userid=28595
View this thread: http://www.excelforum.com/showthread...hreadid=484511



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
Forms - Checkboxes Jane Excel Worksheet Functions 3 October 3rd 06 02:21 PM
creating checkboxes from forms tool bar KB Excel Worksheet Functions 2 April 25th 06 03:53 AM
Checkboxes from the Forms Toolbar cht13er[_2_] Excel Programming 2 October 25th 05 11:50 PM
Forms control checkboxes on charts Tom Ogilvy Excel Programming 2 September 14th 04 12:35 AM
Can you hide forms checkboxes Matt Excel Programming 2 January 10th 04 06:32 PM


All times are GMT +1. The time now is 11:14 AM.

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

About Us

"It's about Microsoft Excel"