Eu quero que cada número seja de 9 dígitos.
For example, I want 59046 as 000059046, 1036135 as 001036135. How can I create a mask for the input?
Isso pode ser obtido com um formato numérico personalizado que consiste em 9 zeros 000000000
Números de comprimento fixo
When you want to display leading zeros for a fixed-length number, create a custom format with the same number of zeros (0) as digits that you want to display.
For example, if you want to display a fixed-length number with five digits, create a custom number format with five zeros.
Use the 00000 format to display a number with five digits. When you use this format, the numbers that you type and the numbers that Microsoft Excel displays are listed in the following table.
Typed number Displayed number -------------------------------- 28217 28217 1234 01234
Fonte Usando um formato numérico personalizado para exibir zeros à esquerda