Range.PasteExcelTable(Boolean, Boolean, Boolean) Range.PasteExcelTable(Boolean, Boolean, Boolean) Range.PasteExcelTable(Boolean, Boolean, Boolean) Method

Definition

Pastes and formats a Microsoft Excel table.

public:
 void PasteExcelTable(bool LinkedToExcel, bool WordFormatting, bool RTF);
public void PasteExcelTable (bool LinkedToExcel, bool WordFormatting, bool RTF);
Public Sub PasteExcelTable (LinkedToExcel As Boolean, WordFormatting As Boolean, RTF As Boolean)

Parameters

LinkedToExcel
Boolean Boolean 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
Boolean Boolean 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
Boolean Boolean Boolean

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

Applies to