Format Property

See Also Applies To Example Model

Sets the format of a numeric text. Read/write String.

Remarks

For how to build a format string, see help for the Visual Basic for Application's Format function.

Example

The following example displays a Bot object's direction as attached text. The text is formated with one decimal place.

Bot.Text.Caption = Bot.Dir
Bot.Text.Format = "0.0"