Checkboxes that won't stay in their place!

dwg83

Board Regular
Joined
Nov 8, 2006
Messages
174
This is a good one!
I have a series of 10 check boxes (activeX) in each column (A:J). For each column I have an additional check box (off to the side, where they won't be hidden) that determines if that column is hidden or showing AND it makes the check boxes in that column not visible or visible depending if the column is hidden. You can play around, hiding and unhiding columns and the checkboxes stay in their respected columns upon unhiding. Now....hide columns B:H using your check box commands, save, and close excel. Open the file back up, unhide the columns, and now all of a sudden the check boxes don't stay in their respective columns! Help me solve this puzzle!!!

Thanks!
David
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi dwg83,

Why not consider the WorkbookBefore_Save where you enter code to unhide all the columns. Then with the WorkBook_Open you reverse the code to hide those colums, which you can manually unhide.

I dont have a copy of your WorkBook and could not test it. It might be worth trying.

Good Luck!
 
Upvote 0

Forum statistics

Threads
1,224,578
Messages
6,179,650
Members
452,934
Latest member
mm1t1

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