Compartilhar via


AutoRecover.Time Property

Sets or returns the time interval for the AutoRecover object.

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

Syntax

'Declaration
Property Time As Integer
    Get
    Set
'Usage
Dim instance As AutoRecover
Dim value As Integer

value = instance.Time

instance.Time = value
int Time { get; set; }

Property Value

Type: System.Int32

Remarks

Permissible values are integers from 1 to 120 minutes. The default value is 10 minutes.

Entering a decimal value will round to the nearest whole number. For example, entering a value of 5.5 is the equivalent of 6.

If time values outside the valid range are entered, Microsoft Excel will revert to the previous time value used.

See Also

Reference

AutoRecover Interface

AutoRecover Members

Microsoft.Office.Interop.Excel Namespace