2
I’m working with the Excel and using some programming resources of the VBA via modules (without using forms), and there has been a problem, the file currently has 8MB and I saved continuously with another name, at least, indicating new version/release to each important change; it happens that from one save to another the file becomes another size, however, totally disproportionate.
This file went from 8MB for more than 40MB, and later, when I returned to the previous version with 8MB he passed to 16MB after days of work.
There was no inclusion of data (volume) or insertion of images, at most there were point changes in the programming, in the conditional formatting or with direct border formatting in the cells. I remember at least in one of the cases having generated a macro to check how to treat the changes of the borders of the cells via VBA, but that was it.
When I repair that the file has increased disproportionately in size, my procedure is to copy the current programming of the modified module VBA (text), for the same module of the previous file with the reduced size, overwriting. In addition to working as expected, saving the size continues as the original (8MB).
The issue is that this can occur without noticing the change in file size, and when noticed, it is too late to go back after numerous modifications; therefore in these cases should get some "trash" saved, which would be highly recommended to delete.
Someone knows this problem and can help me?
That’s why I don’t use automatic Excel save...... Go understand! Mystery!
– Gilson Moura
But, as I noticed, it happens in the following situation: 1) I hid some rows and columns; 2) then, I end up dragging some formulas in the visible rows and columns; 3) Save the file and BUM, it increased in size.
– Gilson Moura
This happens because by dragging the formula I advanced a lot in the last visible line, and therefore excel filled all the hidden lines with the visible lines formula. The hint is, by dragging some formula to the end of a visible line do not go to the end of it (bottom edge), only until it is selected. To reverse, just reexibite the hidden lines and delete the unnecessary formulas..
– Gilson Moura