Share via


Workbook.AutoUpdateFrequency Property (Excel)

Returns or sets the number of minutes between automatic updates to the shared workbook. Read/write Long.

Syntax

.AutoUpdateFrequency

A variable that represents a Workbook object.

Remarks

The AutoUpdateFrequency property must be set to a value from 5 to 1440 for this property to take effect.

Example

This example causes the shared workbook to be automatically updated every five minutes.

ActiveWorkbook.AutoUpdateFrequency = 5

참고

Workbook sharing must be enabled or you may see the following error.
Method 'AutoUpdateFrequency' of object '_Workbook' failed

참고 항목

개념

Workbook Object

Workbook Object Members