XL98: File Size Increases After Starting Visual Basic Editor (182206)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q182206 SYMPTOMS
In Microsoft Excel 98 Macintosh Edition, the size of a workbook may
increase after you save it if the following conditions are true:
- You start the Visual Basic Editor while you are editing the workbook.
-or-
- The Visual Basic Editor is running when you open the workbook.
CAUSE
When you start the Visual Basic Editor, Microsoft Excel creates a Visual
Basic module sheet for each worksheet and chart sheet in the workbook. The
size of the workbook increases by approximately 1,500 to 3,000 bytes for
each worksheet and chart sheet in the workbook.
WORKAROUND
To work around this behavior, use the following appropriate method.
If Your Workbook Does Not Contain Any Visual Basic Modules or UserForms
You can reduce the size of your file by following these steps:
- If the workbook is currently open, save the workbook, and then close it.
- Close the Visual Basic Editor if it is running.
- Open the workbook.
- Save the workbook.
The size of your workbook will be reduced by approximately 1,500 to 3,000
bytes for each worksheet and chart sheet that it contains.
If Your Workbook Contains Visual Basic Modules or UserForms
If you are using Visual Basic modules or UserForms in your workbook, then
you can reduce the size of your file by deleting any unused worksheets. To
delete an unused worksheet, follow these steps:
- Activate the worksheet by clicking on its sheet tab.
- On the Edit menu, click Delete Sheet and click OK.
When you save your workbook, the size of the workbook will be reduced by
approximately 1,500 to 3,000 bytes for each unused worksheet that you
delete.
STATUS
This behavior is by design of Microsoft Excel.
Modification Type: | Major | Last Reviewed: | 9/11/2002 |
---|
Keywords: | kbprb KB182206 |
---|
|