![]() |
Display zeros to the left of a number
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 |
Display zeros to the left of a number
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 |
Display zeros to the left of a number
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 |
Display zeros to the left of a number
Right-click the cells in question, then choose "Format Cells" then click
"Custom" and type 000000 (as many zero's as you need) -- Charles Chickering "A good example is twice the value of good advice." "Student" wrote: 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 |
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 |
All times are GMT +1. The time now is 07:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com