FormatSequenceNum function
Returns a number converted into a string and optionally prefixes zeros until the specified string length is reached.
Syntax
FormatSequenceNum(Value As Long, [Length As Long = 0]) As String
| Name | Description |
|---|---|
|
Value |
The number to convert. |
|
Length |
The total length of the string to create. |
Remarks
Use this function to format sequence numbers to a standard-length string for use in calculating document or folder names.