![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Apr 2002
Posts: 45
|
What is the format setting to show leading and ending zeros, i.e. how do I show 1.00 for $1.00 in the formula bar and also in the cell? It will say 1.00 in the cell but the formula bar is displaying 1. I need the zeros in both places for a parse and to show up in VB code I am writing. Thanks!!
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Apr 2002
Location: Trussville, AL
Posts: 134
|
Can you convert the number to text and then parse it? Only way I know to show 1.00 in the formula bar is if it isn't a number, but text.
Philip |
|
|
|
|
|
#3 |
|
New Member
Join Date: Apr 2002
Posts: 45
|
Philip,
Thanks for the advice, but I'm doing this for a group who cannot convert the files. If this is the only way, we may be out of luck. It is coded in VB then run into a mainframe app, and the process is sticky. Thanks again! |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Apr 2002
Location: Trussville, AL
Posts: 134
|
You could multiply the cell by 100 and then parse the product. That would give you the right two zero's.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|