Table.ConvertToText Method

Converts a table to text and returns a Range object that represents the delimited text.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function ConvertToText ( _
    ByRef Separator As Object, _
    ByRef NestedTables As Object _
) As Range
'Usage
Dim instance As Table
Dim Separator As Object
Dim NestedTables As Object
Dim returnValue As Range

returnValue = instance.ConvertToText(Separator, _
    NestedTables)
Range ConvertToText(
    ref Object Separator,
    ref Object NestedTables
)

Parameters

  • Separator
    Type: System.Object%
    Optional Object. The character that delimits the converted columns (paragraph marks delimit the converted rows). Can be any following WdTableFieldSeparator constants.
    wdSeparateByCommas
    wdSeparateByDefaultListSeparator
    wdSeparateByParagraphs
    wdSeparateByTabs Default .
  • NestedTables
    Type: System.Object%
    Optional Object. True if nested tables are converted to text. This argument is ignored if Separator is not wdSeparateByParagraphs. The default value is True.

Return Value

Type: Microsoft.Office.Interop.Word.Range

See Also

Reference

Table Interface

Table Members

Microsoft.Office.Interop.Word Namespace