Re: Format a Numeric to include leading zeros

"Duane Bozarth" <dpbozarth@xxxxxxxxxxxx> wrote in message
> Saucer Man wrote:
> >
> > Thanks all! I didn't realize the "000" would work for numerics.
> >
> ....
> What would it work for then? (Curious about the comment as the only
> place "0" appears in the descriptions of formatting is in user-defined
> numeric formats.)

Some examples show it as ...
Dim sTmp As String
sTmp = Format("123", "0000")

I've run into quite a few new students, who associate "Format" with String
and Data formatting only and assume the seed string can only be a String or
Not trying to speak for the OP, but it does happen.



Relevant Pages