Macros and Virtual Memory

broadpipe

New Member
Joined
Aug 12, 2002
Messages
36
I have a BIG problem....i have created a spreadsheet which contains about 40 sheets which each contains about 30 checkboxes which interlink to produce a form.

When I open it the PC returns the error of 'Out of Virtual Memory'....

Apparently after speaking to my Tech friends the macros seems to be using 200MB....can someone explain how this can happen and if I can solve the problem without reducing the number of macros and VBA
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Hi broadpipe,

If you are using ActiveX checkboxes (i.e., checkboxes from the Controls toolbar) I suggest you replace them with Forms checkboxes. Forms checkboxes require less than a third of the memory of the ActiveX checkboxes.

If you are already using Forms checkboxes and running into this problem I would suggest you switch to using cells as "pseudo checkboxes". Cells can be made to operate and look very much like a checkbox control, and my guess is that the memory requirements for this would even be a fraction of the Forms checkbox requirements. If you would like an example of this you can post or send me a private message with your email address.
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,141
Members
449,066
Latest member
Andyg666

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