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: 661
Default Check Box Show Hide

Hi,

Im trying to create a spreadsheet with a check box that returns a combo box
when checked, and hide combo box when unchecked. Ive created the following
code for the checkbox, however an €˜Object Required error is returned.

Sub CheckBox1_Click()

If CheckBox1.Checked = True Then
CheckBox1.Text = "Checked"
Else
CheckBox1.Text = "Unchecked"
End If
End Sub

Does anyone familiar with the €˜Object required code? Also, what line of
code is needed to €˜show and hide the combo box?

Thanks
Paul

 
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
how to Hide/reappear check boxes MWL Excel Discussion (Misc queries) 0 February 13th 09 10:29 AM
Hide & Show Rows based on Check Boxes loza Excel Discussion (Misc queries) 1 September 14th 08 01:49 AM
How do I hide the Check Box number? ctyclrk Excel Worksheet Functions 2 April 25th 08 06:34 PM
Check boxes to show/hide Tabs Sridhar Rao Excel Worksheet Functions 1 January 5th 05 03:28 PM
Want to hide check boxes Matt Excel Programming 1 January 8th 04 10:56 PM


All times are GMT +1. The time now is 05:35 PM.

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"