Edit

Share via


Table.ConvertToText(Object, Object) Method

Definition

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

public Microsoft.Office.Interop.Word.Range ConvertToText (ref object Separator, ref object NestedTables);
abstract member ConvertToText : obj * obj -> Microsoft.Office.Interop.Word.Range
Public Function ConvertToText (Optional ByRef Separator As Object, Optional ByRef NestedTables As Object) As Range

Parameters

Separator
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 wdSeparateByTabsDefault.

NestedTables
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.

Returns

Applies to