TextBox.NumeralShapes property (Access)
Syntax
expression.NumeralShapes
expression A variable that represents a TextBox object.
Remarks
The NumeralShapes property uses the following settings.
Setting | Visual Basic | Description |
---|---|---|
System | 0 | Numeral shapes are determined by the Numeral Shapes system setting. |
Arabic | 1 | Arabic digit shapes are used to display and print numerals. |
National | 2 | National digit shapes are used to display and print numerals. |
Context | 3 | Numeral shapes are determined by Unicode context rules for adjacent text. |
Example
The following example changes the NumeralShapes property for the selected control to 0 (numeral shapes will be determined by the Numeral Shapes system setting).
Public Sub ChangeNumeralShapes(ctl As Control)
ctl.NumeralShapes = 0
End Sub
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.