編輯

共用方式為


_QueryTable.RefreshOnFileOpen Property

Definition

True if the PivotTable cache or query table is automatically updated each time the workbook is opened. The default value is False. Read/write Boolean.

public:
 property bool RefreshOnFileOpen { bool get(); void set(bool value); };
public bool RefreshOnFileOpen { get; set; }
Public Property RefreshOnFileOpen As Boolean

Property Value

Remarks

Query tables and PivotTable reports are not automatically refreshed when you open the workbook by using the Open(String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) method. Use the Refresh(Object) method to refresh the data after the workbook is open.

Applies to