How to hide columns containing checkboxes

lmichaluk

New Member
Joined
Aug 4, 2011
Messages
9
I am new to excel and have built a form that contains check boxes (form, NOT ActiveX). Can someone tell me how to hide the columns and the check boxes please? As it is now built, when I hide the columns, the squished check boxes show up...
Any help appreciated.
Thanks
Linda
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
You can hide forms checkboxes like this:-
Code:
ActiveSheet.CheckBoxes.Visible = False
ActiveSheet.CheckBoxes.Visible = True
Mick
 
Upvote 0
Thanks Mick. Sorry, I'm too much of a novice to understand...
The form I have built is a master form that is to be used for two purposes - half of the form (that contains check boxes) will be filled out by one individual. The form, once filled out, will then be sent to another person who will then fill out other elements of the form that also contain checkboxes.
I want to be able to use the master form with the columns that will be filled out by the second person hidden when the form goes to the first person (no secret - just easier to present the info), and then simply unhide those columns (and lock the first set of columns) when the completed form is sent to the second person.
So - if there is a formula I can put in to hide the selected columns with the check boxes, what would the formula be, and where would I put it?
Thanks again.
Linda
 
Upvote 0
If you mean a form that's saved as a template, then I'm not familiar with them, and not sure how to intigrate that code in a form of that type.
But if you do find out, that bit of code will remove & reinstate them.
Mick
 
Upvote 0
Thanks Mick. I got so wrapped up in the excel stuff that I completly forgot that the form would be a template. Sorry for not being more clear. If I do find out what code will work, I will post.
Cheers
Linda
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,284
Members
452,902
Latest member
Knuddeluff

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