Disappearing Option Box

Nick W.

New Member
Joined
Aug 28, 2006
Messages
21
I have two option boxes in a spreadsheet that control the output of other cells. One option box is called "1300" and the other option box is called "1400". For some reason when I select the "1400" box and then save my excel file, after re-opening the same file neither the "1300" box nor the "1400" box is selected, which gives some of the values a false reading. I am not really sure how to solve this problem. This problem doesn't occur when I select the "1300" box.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Not sure what you have there. It could be an "Option Button", "Check Box", "Combo Box", or a "List Box". Code is different if it is from the Forms or Controls toolbars. At any rate, you could record a macro selecting the "1300" box, then incorporate that into a "On open" event macro.
To make an "On Open" event macro:
Right Click the Excel Icon in the upper left of your worksheet, (left of the File drop-down menu).
Click "View Code"
Paste your code into the panel that opens. ("ThisWorkBook" Module)
Be sure the macro starts with, "Private Sub Workbook_Open()"
Alt-Q to quit the VBA Editor.
 
Upvote 0
I got it figured out, thanks all.
then please share what the problem was and how you solved it

some guys and gals might have spent some time to look at your problem
perhaps they did not post because after 10 minutes of tryouts they couldn't reproduce the problem, but they worked at it ...
(I was one of them)
 
Upvote 0

Forum statistics

Threads
1,214,973
Messages
6,122,534
Members
449,088
Latest member
RandomExceller01

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