Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-24-2017, 04:27 PM
brent chadwick brent chadwick is offline Auto save macro Windows 8 Auto save macro Office 2013
Advanced Beginner
Auto save macro
 
Join Date: Mar 2015
Posts: 86
brent chadwick is on a distinguished road
Default Auto save macro

Hey Guys,
Working on an auto save macro on Mac. This code works well so far except for two things: you need to save the first time manually with the Command +S, and when you do save manually later on it gives me the dialog box, which is annoying since if I am saving manually I don't want to see the dialog box. Suggestions?




Code:
Public Sub FileSave()
'Auto Save macro
ActiveDocument.SaveAs
DoEvents
Application.OnTime _
When:=Now + TimeValue("00:10:00"), _
Name:="FileSave"
MsgBox "10 Minutes have elapsed since this document was saved. Do you want this " & ActiveDocument.Name & " document saved now?", 3
Application.StatusBar = "Auto Saved: " & ActiveDocument.Name
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto save macro Macro to save as pdf with ability to choose save as folder rvessio Word VBA 4 07-25-2016 12:37 PM
Auto save macro Auto save has done dark - does not work for me bitraker Word 1 12-28-2015 09:40 AM
Auto save macro Auto correct will not save shewoman Word 4 10-28-2015 03:51 AM
I was working on it had my auto save set to every 4 mins and all was well VernonMax Word 2 05-18-2015 08:58 AM
Auto save emails to server Chuuuuck Outlook 1 11-03-2011 02:17 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft