The information in this article applies to:
SYMPTOMSWhen you attempt to change the number format of a cell, the number format may not change as you expect. CAUSEThis behavior occurs when the following conditions are true:
WORKAROUNDTo work around this behavior, use any of the following methods. Method 1: Retyping the Values in the CellsOn the Format menu, click Cells, and click the Number tab to change the number format of the cells. Then, retype the numbers.Method 2: Select Edit Directly In CellTo use this method, follow these steps:
Method 3: Using Paste Special with MultiplyTo use this method, follow these steps:
Method 4: Use a Visual Basic for Applications ProcedureMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support professionals can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact a Microsoft Certified Solution Provider or the Microsoft fee-based consulting line at (800) 936-5200. For more information about Microsoft Certified Solution Providers, please see the following page on the World Wide Web:http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.aspCreate a Visual Basic for Applications macro to reenter the numbers in the selected cell or range of cells. To do this, follow these steps:
MORE INFORMATIONTo format a number as text, follow these steps:
NOTE: If you enter the numbers before you format the cells to use the Text number format, the data you enter remains numeric; however, Microsoft Excel aligns the numbers to the left in the cells so that the numbers appear as text. REFERENCESFor more information about number formats, click Microsoft Excel Help on the
Help menu, type "About number formats" in the Office Assistant or the Answer Wizard,
and then click Search to view the topic. Additional query words: XL2000
Keywords : xlformat |
Last Reviewed: July 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |