ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   autoupdatesavechanges doesn't work (https://www.excelbanter.com/excel-programming/346499-autoupdatesavechanges-doesnt-work.html)

CiccioSPICE

autoupdatesavechanges doesn't work
 
Hi all,
on an unshared workbook, I have this macro:

Sub Save()
Dim AutoUpdateSaveChanges As Boolean
Dim AutoUpdateFrequency As Long
ActiveWorkbook.AutoUpdateSaveChanges = True
ActiveWorkbook.AutoUpdateFrequency = 10
End Sub

when I try to execute it I see:
run-time error 1004 Method autoupdatesave cheanges on object _Workbook
failed.

How can I set this property?

TIA
CiccioSPICE


JE McGimpsey

autoupdatesavechanges doesn't work
 
The property only applies to a shared workbook.

In article .com,
"CiccioSPICE" wrote:

Hi all,
on an unshared workbook, I have this macro:

Sub Save()
Dim AutoUpdateSaveChanges As Boolean
Dim AutoUpdateFrequency As Long
ActiveWorkbook.AutoUpdateSaveChanges = True
ActiveWorkbook.AutoUpdateFrequency = 10
End Sub

when I try to execute it I see:
run-time error 1004 Method autoupdatesave cheanges on object _Workbook
failed.

How can I set this property?

TIA
CiccioSPICE



All times are GMT +1. The time now is 01:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com