View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Jean-Yves[_2_] Jean-Yves[_2_] is offline
external usenet poster
 
Posts: 253
Default Display zeros to the left of a number

Hi,
via menu : Format/Cells ( or CTLR + 1 key combination)
Select the Number Tab
In Category , select Custom
In Type, type the number of zero required
eg : 00 = for 1 shows 01
000 for 22 shows 022
Regards
JY
"Student" wrote in message
...
how do i do that?

"Bob Phillips" wrote:

Use a format of 000000 or however many digits you want displayed.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Student" wrote in message
...
Good Morning,

how can i display the zeros to the left of a number? by the way i want
the
format of the field to be a number because i have a macro that
validates

the
value entered in the field is a number.

thank you very much