This article was previously published under Q151442
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
When you click the Currency Style toolbar button, the first Accountingnumber format is applied to the cell. This behavior is not as expected;you may expect the Currency number format to be applied to the cell.
When you click the Currency Style toolbar button, the predefined cellstyle called Currency is applied to the cell. By default, the Currencystyle has only the Accounting number format defined. Therefore, when youclick the Currency Style toolbar button, this number format is applied tothe cell.
If you want to change the number format that is applied to the cell whenyou click the Currency Style toolbar button, you must change theformatting options set for the Currency style. For example, to have theCurrency Style toolbar button apply the Currency number format$#,##0.00_);($#,##0.00) follow these steps:
On the Format menu, click Style.
In the Style Name list, click Currency.
On the Number tab of the Format Cells dialog box, click Currency in the Category list, and then click OK.
When you click the Currency Style toolbar button, the first numberformat of the Currency category will be applied to the cell.
By default, both the Currency Style and Comma Style toolbar buttons applyaccounting number formats. For example, if you enter the number 1234.56into an unformatted cell, and then widen the column so that it is muchwider than necessary to fit this number, you will get results similar tothe following (based upon the toolbar button that you click).
Note that the accounting number format applied by both of these toolbarbuttons will pad the cell with enough spaces to fill the column width.These spaces will not be readily seen under most circumstances, especiallywith the accounting number format applied by the Comma Style. But, if youapply an underline to the cell, the underline will run the full width ofthe column, even though the number you have may only go part of the wayacross the cell. Therefore, if you apply a single underline to the cellsin the above table, your results will be similar to the following.