Unhide Form via Checkbox?

Bingo969

Board Regular
Joined
Aug 2, 2006
Messages
112
Good Morning -

I'm using Excel 2003 and WinXP (Also using Excel 2010 and Windows 7 if there are different approaches but 03/XP is what's used by everyone else currently).

I'm wanting to create an order form workbook. There are a couple of devices that can be ordered which require an additional form to be filled out.

I'd love to have this additional form as a hidden worksheet within that workbook.

So that if they check that box they get a popup saying 'Fill out the security agreement' and the worksheet titled 'Security Agreement' becomes unhidden.

I can do popup boxes and check boxes and all that but never tried unhiding worksheets this way. I found a few similar things via searching these and other areas but nothing quite like this.

Anyone have any suggestions?

Thanks as always for a great resource!!

Bingo
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
put this as the checkbox code
Code:
Private Sub CheckBox1_Click()
With Sheets("'Security Agreement")
.Visible = True
.Activate
End With
resp = MsgBox("Please fill out the security agreement", vbExclamation)
End Sub
 
Upvote 0
spurious ' in the code sorry should be
Code:
Private Sub CheckBox1_Click()
With Sheets("Security Agreement")
.Visible = True
.Activate
End With
resp = MsgBox("Please fill out the security agreement", vbExclamation)
End Sub
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top