Excel checkbox data being cached?

MrTeeny

Board Regular
Joined
Jul 26, 2017
Messages
238
I have a vba script that adds checkboxes to a sheet I use for betting. Each time it switches to a new market the checkbox data gets incremented by one rather than starts at 1 i.e. once a race with say 5 runners has finished it moves to a new market but that now starts adding checkboxes with number 6 and so one. It's now in the 20 thousands, does excel cache checkbox data or any other caches saving data somewhere along with the sheet? And can I clear that data as it's obviously being saved with the sheet or excel itself.

Thanks
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
I think it is related to the vba script on how it was written. Anyway, each time you add CheckBox to a sheet or Userform by default it is named sequentially as CheckBox1, CheckBox2, and so on if they are on same sheet. If new sheet, the number starts from 1 again.
 
Upvote 0
I guess there is a veryhidden worksheet to save to value of checkbox.
 
Upvote 0
I guess there is a veryhidden worksheet to save to value of checkbox.
The CheckBox is only Boolean. I believe the state it was at during time the file was saved will stay.
 
Upvote 0
I think it is related to the vba script on how it was written. Anyway, each time you add CheckBox to a sheet or Userform by default it is named sequentially as CheckBox1, CheckBox2, and so on if they are on same sheet. If new sheet, the number starts from 1 again.

Thanks, so guess it must be being stored somewhere or other within the xlsm file.
 
Upvote 0

Forum statistics

Threads
1,214,821
Messages
6,121,755
Members
449,049
Latest member
excelknuckles

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