A family of Microsoft word processing software products for creating web, email, and print documents.
Use a numeric picture format in a field so that numbers are always shown with six digits by padding with leading zeros.
- Press
Ctrl+F9to insert field braces{ }(do not type them). - Inside the braces, type a formula field with a numeric picture, for example:
{ = 123 \# "000000" }When updated, this displays000123. - To use a value from elsewhere (for example, a bookmark named
MyNumber):{ = MyNumber \# "000000" } - Select the field and press
F9to update.
Explanation of the picture format:
-
\# "000000"tells Word to format the result as six digits. - If the number has fewer than six digits, Word adds leading zeros.
This works with any numeric result produced by a field (calculations, SEQ fields, bookmarked numbers, etc.).
References: