A.11. Formatting Functions

Format Function

Returns a string variant formatted to a given specification

Format$ Function

Returns a string formatted to a given specification

FormatCurrency Function

Returns a string variant formatted using the currency settings for the current locale

FormatDateTime Function

Returns a string variant formatted using the date settings for the current locale

FormatNumber Function

Returns a numeric variant formatted to a given specification

FormatPercent Function

Returns a numeric variant formatted using the "%" symbol

Get VB & VBA in a Nutshell: The Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.