View Single Post
 
Old 02-21-2017, 02:27 PM
brent chadwick brent chadwick is offline Windows 8 Office 2013
Advanced Beginner
 
Join Date: Mar 2015
Posts: 86
brent chadwick is on a distinguished road
Default Auto-saving word docs

Hey Guys,
I found this code on the web some where, and I works well except for two things-
When active in another program such as Firefox, it does not save the Word doc.
When working between multiple Word docs, it only saves the active one.
Suggestions?


Code:
Public Sub FileSave()
ActiveDocument.Save
DoEvents
Application.OnTime _
When:=Now + TimeValue("00:05:00"), _
Name:="FileSave"
Application.StatusBar = "Saved: " & ActiveDocument.Name
End Sub
Reply With Quote