Catatan
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba masuk atau mengubah direktori.
Akses ke halaman ini memerlukan otorisasi. Anda dapat mencoba mengubah direktori.
Converts a value to text in a specific number format.
Syntax
expression.Text (Arg1, Arg2)
expression A variable that represents a WorksheetFunction object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Arg1 | Required | Variant | A numeric value, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value. |
| Arg2 | Required | String | A number format in text form in the Category box on the Number tab in the Format Cells dialog box. |
Return value
String
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.