Rows.ConvertToText Method (Word)
Converts rows in a table to text and returns a Range object that represents the delimited text.
Syntax
expression .ConvertToText(Separator, NestedTables)
expression Required. A variable that represents a Rows collection.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Separator |
Optional |
Variant |
The character that delimits the converted columns (paragraph marks delimit the converted rows). Can be any following WdTableFieldSeparator constants: wdSeparateByCommas, wdSeparateByDefaultListSeparator, wdSeparateByParagraphs, or wdSeparateByTabs (Default). |
NestedTables |
Optional |
Variant |
True if nested tables are converted to text. This argument is ignored if Separator is not wdSeparateByParagraphs. The default value is True. |