Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As IFormatter Dim o As Object Dim value As String value = instance.Format(o) |
Parameters
- o
- Object to format
Return Value
Formatted string to put in the cell on the sheetThe data model for a sheet only stores the raw unformatted data. Each time the data needs to be painted, the formatter must be called to transform the data from its raw unformatted form to its displayed form. The Format method is called whenever a cell needs to render, in which case a string representation of the data is needed to draw in the cell.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family