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

I have a checkbox of which I need macro for. The only thing I need it t
do it if I click on it and it is checked, a button next to it shoul
appear which is already made(button's name is "Thread"). And if it i
not checked I don't want the button to be there. And the box starts of
as unchecked. THANK

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 132
Default Checkbox Macro

Dear grin;

Use the code below;

Thanks, Greg

Private Sub CheckBox1_Change()
If CheckBox1.Value = True Then
Thread.Visible = True
ElseIf CheckBox1.Value = False Then
Thread.Visible = False
End If

End Sub



Private Sub UserForm_Activate()
Thread.Visible = False

End Sub


-----Original Message-----
I have a checkbox of which I need macro for. The only

thing I need it to
do it if I click on it and it is checked, a button next

to it should
appear which is already made(button's name is "Thread").

And if it is
not checked I don't want the button to be there. And the

box starts off
as unchecked. THANKS


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

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Checkbox Macro

or more simply

Private Sub CheckBox1_Change()
Thread.Visible = Checkbox.Value
End Sub


--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Gjones" wrote in message
...
Dear grin;

Use the code below;

Thanks, Greg

Private Sub CheckBox1_Change()
If CheckBox1.Value = True Then
Thread.Visible = True
ElseIf CheckBox1.Value = False Then
Thread.Visible = False
End If

End Sub



Private Sub UserForm_Activate()
Thread.Visible = False

End Sub


-----Original Message-----
I have a checkbox of which I need macro for. The only

thing I need it to
do it if I click on it and it is checked, a button next

to it should
appear which is already made(button's name is "Thread").

And if it is
not checked I don't want the button to be there. And the

box starts off
as unchecked. THANKS


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

.



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
Checkbox Macro [email protected] Excel Discussion (Misc queries) 3 November 5th 07 07:11 PM
checkbox macro Dajana Excel Discussion (Misc queries) 1 November 28th 05 05:22 PM
Macro for checkbox (2) es Excel Discussion (Misc queries) 0 April 5th 05 01:48 PM
Macro for checkbox (2) es Excel Discussion (Misc queries) 0 April 5th 05 01:48 PM
Macro for checkbox es Excel Discussion (Misc queries) 1 April 5th 05 11:40 AM


All times are GMT +1. The time now is 06:29 PM.

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"