XL5: xlZoomToSelection Not a Valid ConstantLast reviewed: September 12, 1996Article ID: Q116035 |
The information in this article applies to:
SUMMARYIn Microsoft Excel Help, under Visual Basic Equivalents For Macro Functions And Commands, the following is listed as a constant for the Zoom property:
ActiveWindow.Zoom = xlZoomToSelectionThis constant does not exist. The correct syntax for this property is:
ActiveWindow.Zoom = True MORE INFORMATIONIn Microsoft Excel 5.0, a window can be magnified to a specific percentage (such as 150-percent or 75-percent), or a window can be allowed to zoom automatically based on the current selection. To zoom manually, use the Zoom Control box on the standard toolbar or choose Zoom from the View menu. To find the Visual Basic Equivalents For Macro Functions And Commands Help topic, choose Contents from the Help menu, and then choose Reference Information. Under General Reference, choose Microsoft Excel Macro Function Contents.
REFERENCESFor more information about the Zoom property, choose the Search button in Help and type:
Zoom |
KBCategory:
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |