編輯

共用方式為


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);
abstract member PasteExcelTable : bool * bool * bool -> unit
Public Sub PasteExcelTable (LinkedToExcel As Boolean, WordFormatting As Boolean, RTF As Boolean)

Parameters

LinkedToExcel
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

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

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

Applies to