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

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.

See also

Rows Collection Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.