XL98: New UsedRange Property Behavior (184171)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q184171 SUMMARY
In earlier versions of Microsoft Excel, when you create a Visual Basic for
Applications macro that performs multiple deletions or clears cells
multiple times, you must save the workbook to release the random access
memory that is no longer being used. In Microsoft Excel 98 Macintosh
Edition, you can free this memory by using the UsedRange Property in a
macro.
In addition, the UsedRange property in Microsoft Excel 98 refers to only
the occupied range of cells. In earlier versions of Microsoft Excel, the
UsedRange property includes cells that are referenced (by formulas) but
that are not occupied with data.
NOTE: The UsedRange Property does exist in earlier versions of Microsoft
Excel. This particular functionality is new in Microsoft Excel 98.
This article contains a sample macro that resets the used range of cells on
the active worksheet.
REFERENCES
For more information about UsedRange Property, from the Visual Basic
Editor, click the Office Assistant, type usedrange, click Search, and
then click to view "UsedRange Property."
NOTE: If the Assistant is hidden, click the Office Assistant button on the
Standard toolbar. If the Assistant is not able to answer your query, please
see the following article in the Microsoft Knowledge Base:
176476
OFF: Office Assistant Not Answering Visual Basic Questions
Modification Type: | Major | Last Reviewed: | 6/17/2005 |
---|
Keywords: | kbdtacode kbinfo KB184171 |
---|
|