Export (0) Print
Expand All
Expand Minimize

Range.PasteExcelTable method

Pastes and formats a Microsoft Excel table.

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

void PasteExcelTable(
	bool LinkedToExcel,
	bool WordFormatting,
	bool RTF
)

Parameters

LinkedToExcel
Type: System.Boolean

Required Boolean. True links the pasted table to the original Excel file so that changes made to the Excel file are reflected in Microsoft Word.

WordFormatting
Type: System.Boolean

Required Boolean. True formats the table using the formatting in the Word document. False formats the table according to the original Excel file.

RTF
Type: System.Boolean

Required Boolean. True pastes the Excel table using Rich Text Format (RTF). False pastes the Excel table as HTML.

Show:
© 2015 Microsoft