How do I Prevent file size from getting larger and crashing?

alanuzi

New Member
Joined
Dec 12, 2005
Messages
3
Hi

Can anyone help....

I've put a userform in excel which interacts with some tables on the worksheets, the form loads on initialize, the file is about 600KB.

The problem is that i can load the form fine the first time i run it, then i save it and it adds 70 KB to the file, and wont open again!!!! (it just errors and excel crashes)

But..

if i disable the macros and just open the userform and macro in VBA editor then save and exit, it reduces the file and will run again!!! :devilish:

If anyone has any ideas about this then please let me know.


thanks :biggrin:

alanuzi
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
i removed the multipage that i was using on the form and create 4 other forms instead, this seems to have done the trick,

alanuzi
 
Upvote 0

Forum statistics

Threads
1,215,012
Messages
6,122,682
Members
449,091
Latest member
peppernaut

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