Version

ToString(CellReferenceMode,Boolean,Boolean,Boolean) Method

Gets the string representation of the range of cells in the region.
Syntax
'Declaration
 
Public Overloads Function ToString( _
   ByVal cellReferenceMode As CellReferenceMode, _
   ByVal includeWorksheetName As Boolean, _
   ByVal useRelativeColumn As Boolean, _
   ByVal useRelativeRow As Boolean _
) As String

Parameters

cellReferenceMode
The mode used to generate cell references.
includeWorksheetName
The value indicating whether to include the worksheet name in the range address.
useRelativeColumn
The value indicating whether to use a relative column address for the cells in the range.
useRelativeRow
The value indicating whether to use a relative row address for the cells in the range.

Return Value

The string representation of the range of cells in the region.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also