Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
andreeadede
Femeie
24 ani
Ilfov
cauta Barbat
24 - 39 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [WORD] VBA to Make Toggle Button to Enable / Disable AutoSave Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787
Even if it's useful to have an autosave feature enabled and you want it enabled for most files, but if you want to disable it for some, for example big files,you can do this programatically.

Source: Macro recording


Sub AutoSaveToggle()

If Options.SaveInterval > 0 Then
    Options.SaveInterval = 0 'disabled
    MsgBox ("AutoSave disabled")
Else
    Options.SaveInterval = 10 'enabled, at 10 minutes
    MsgBox ("AutoSave enabled, saving every 10 minutes." & vbCrLf & "To change time interval go to File-Options-Save.")
End If

End Sub


I've tried the following line as they said in some sources I found, but was receiving an error:
Application.AutoRecover.Enabled = True


pus acum 6 ani
   
Pagini: 1  

Mergi la