WorksheetFunction.Text(Object, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts a value to text in a specific number format.
public:
System::String ^ Text(System::Object ^ Arg1, System::String ^ Arg2);
public string Text (object Arg1, string Arg2);
Public Function Text (Arg1 As Object, Arg2 As String) As String
Parameters
- Arg1
- Object
A numeric value, a formula that evaluates to a numeric value, or a reference to a cell containing a numeric value.
- Arg2
- String
A number format in text form in the Category box on the Number tab in the Format Cells dialog box.
Returns
Applies to
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per