The Text property returns a string that represents the text as displayed in a cell: the formatted value. The Text property is read-only. : Range « Excel « VBA / Excel / Access / Word
- VBA / Excel / Access / Word
- Excel
- Range
The Text property returns a string that represents the text as displayed in a cell: the formatted value. The Text property is read-only.
Sub text()
MsgBox Worksheets("Sheet1").range("A1").text
MsgBox Worksheets("Sheet1").range("A1").value
End Sub
Related examples in the same category