The information in this article applies to:
SUMMARYMicrosoft Excel 2000 offers a new option to enable or disable automatic percent entry formatting, when you type numbers in cells that are formatted with the Percentage number format. MORE INFORMATIONBy default, when you type numbers in cells that are formatted with the Percentage number format, Microsoft Excel automatically changes these numbers to display as percentages according to the following rule:
However, if you change the number format to something other than Percentage, or you remove the number format in the affected cells, the actual numbers in the cells may not the same as what you typed.The following table illustrates this auto percent format feature:
Although the auto percent feature has been available in Excel for several versions, the option to turn this feature on and off is new. The feature is turned on by default. To control it, use either of the following methods.
Options Dialog BoxTo control the auto percent feature using the Options dialog box:
Visual Basic MacroYou can also turn the automatic percent feature on and off using a Microsoft Visual Basic for Applications macro. For example, the following statement when run in a subroutine turns the automatic percent entry feature off. NOTE: If you type numbers in cells when the automatic percent entry feature is turned off, Excel multiplies by 100 any number formatted as a Percentage, and adds a percent sign.If you type numbers in cells when the automatic percent entry feature is turned off, and you change the number format to something other than Percentage, or remove the number format in the affected cells, the numbers remain the same as what you typed. REFERENCESFor more information about automatic percent entry, click Microsoft Excel Help on the
Help menu, type Show numbers as percentages in the Office Assistant or
the Answer Wizard, and then click Search to view the topic. Additional query words: XL2000
Keywords : kbdta xlvbainfo xlformat |
Last Reviewed: October 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |