Microsoft Autosave Path Mac

06.04.2020by
Microsoft Autosave Path Mac Rating: 5,0/5 4091 reviews
  1. Word Autosave Mac
  2. Microsoft Word Autosave Files Mac
  3. Microsoft Autosave Path Mac Os
  4. Onedrive Autosave Mac
  5. Excel For Mac Autosave

AutoSave is a new feature that saves changes to Office documents in real time to OneDrive and SharePoint. Let’s review how to enable it and all the details around how it works.

It’s happened to all of us. Hours of work lost because we forgot to save our work. Just when everything is perfect, CRASH. Everything is gone. Well, I have good news for you and it’s called Microsoft Office AutoSave!

Issue 4: Code in AfterSave dirties the workbook (Excel only) When AutoSave is on, the BeforeSave and AfterSave events will only trigger if there has been a change in the workbook since the last time they were triggered. If code in the AfterSave event dirties the workbook (that is, makes additional changes). Oct 12, 2019  Locate and Recover Unsaved Excel Files via AutoSave Folder. With AutoSave, another built-in feature of Microsoft Excel, a newly created excel file can be saved automatically in a preset interval. Even if users forget to save the file, they will not totally lose it when something goes wrong. AutoSave is available only to Office for Mac 2016 users who also subscribe to Office 365. Microsoft last week added an auto-save feature to the core applications in Office for Mac 2016, matching what Windows users were given in August. Jan 22, 2018  I would like to explain that AutoSave is enabled when working on a file that is saved to OneDrive, OneDrive for Business, or SharePoint Online. If the file is saved to another location, then AutoSave is disabled. This will happen if your file is on a SharePoint On Premises site, a file server, or saved to a local path like C.

AutoSave is a new featured included in the July 2017 update (version 1707 build 8236.xxxx) for Office 365 subscribers. According to Microsoft:

Save early, save often is now a thing of the past. Office AutoSave saves every few seconds so you don’t have to!

Included in Excel 2016 and Powerpoint 2016, the new AutoSave feature not only saves your document every few seconds, depending on what you’re doing, it also uses a simple UI to go back through previous versions of files.

How do I enable AutoSave?

If you’ve updated to the July 2017 update, AutoSave is enabled by default when you save a file to OneDrive, OneDrive for Business or Sharepoint Online. Another nice feature about AutoSave is it also allows you to collaborate with other users who are also editing the file. Since the file is being AutoSaved automatically, any changes being made will be seen by all users almost instantly.

What, where did File > Save As go?

As I said earlier, this is a massive change as it not only adds AutoSave protection, it also changes the File menu. The Save As command has been replaced with the Save a Copy command.

Warning: Being that changes are made instantly to the file once you start editing it, it’s important to use the Save a Copy command if you don’t want to edit the original file.

I don’t see AutoSave. What’s wrong?

It could be a couple of problems:

  1. Are you running the latest update from Microsoft Office? Run the Microsoft Office manual update process to verify you’re fully updated.
  2. Are you an Office 365 subscriber? If not, I highly recommend it. The 1 TB of Onedrive space alone is amazing for backing up files and photos from your mobile device.
  3. If the document is stored on your local computer, AutoSave will be disabled. To enable it, you must save your document to OneDrive, OneDrive for Business or Sharepoint Online.
  4. Make sure you’re not using an older file format like .xls, .ppt or .doc. For example, save your Excel file as a .xlsx and see if that solves the issue.

What happens when I click the AutoSave toggle and turn it off?

AutoSave will no longer save your document as you make changes. Instead, you will need to click the Save icon or click File > Save.

-->

Learn about how AutoSave works in Excel, PowerPoint, and Word, and how it can impact add-ins or macros.

Overview of AutoSave

When a file is hosted in the cloud (that is, OneDrive, OneDrive for Business, or SharePoint Online), AutoSave enables the user's edits to be saved automatically and continuously. When the file is shared with others, their changes are merged into this user's version of the file. If AutoSave is turned off, save must be triggered manually for the user's changes to be persisted in the cloud and for this user to receive others' changes.

Currently, Excel, Word, and PowerPoint provide a BeforeSave event that allows a developer to execute code after the user triggers a save but before the save occurs. Excel also provides an AfterSave event that can execute macro or add-in code after the save completes.

Saving your files frequently is the best way to preserve your work.You can set how frequently these AutoRecover files are saved. Recover corrupted word files.

When AutoSave is enabled, these events fire automatically on a periodic basis without user interaction. Because of this, add-ins and macros that leverage these events may experience problems when AutoSave is on.

In general, these issues can be avoided if the user chooses to disable AutoSave. You can do this on the user’s behalf by using the AutoSaveOn property in Word, Excel, and PowerPoint if it's available (see the following example). You can also take steps as a developer to mitigate these problems so that your add-ins and macros work smoothly, even if AutoSave is enabled.

Example

This example turns off AutoSave and notifies the user that the workbook is not being automatically saved.


Potential issues with save events and AutoSave

You may need to handle one or more of the following issues regarding the interaction between save events and AutoSave:

Issue 1: Code in BeforeSave or AfterSave events runs too long

Word Autosave Mac

In general, Word, Excel and PowerPoint are not responsive to user interaction while add-in or macro code is being run. Therefore, if your code in a BeforeSave or AfterSave event handler takes too long to run, it may significantly degrade the user experience.

When AutoSave is disabled, this code is only run when the user explicitly chooses to save, so a delay is not as noticeable and can be avoided by the user until he or she is ready to save.

When AutoSave is enabled, this code runs automatically on a periodic basis, which has the potential to interrupt the user, especially if the code takes a long time.

Example scenario

Imagine an add-in that allows the user to create custom maps based on data in an Excel workbook. Such an add-in might have BeforeSave code that serializes any maps that the user has created and stores them in the workbook in a CustomXML part. This process might take a second to complete, and Excel could be unresponsive while this is happening.

When AutoSave is off, the user gets to choose when he or she wants to save, and therefore, even though the add-in slows down the save process slightly, the user does not notice.

When AutoSave is enabled, this BeforeSave code runs automatically on a periodic basis even if the user is in the middle of something else (such as typing data into a cell), which could be extremely annoying.

Workaround

Add-ins should try to avoid long-running operations inside of a save event. In this example, the developer could choose to persist the custom maps to the file as they are created or modified by the user, rather than waiting for the save event.


Issue 2: Code in save events surfaces a modal dialog

Any code that runs in a save event that displays UI such as a modal dialog has the potential to seriously degrade the user experience when AutoSave is on. Because the BeforeSave and AfterSave events run automatically on a periodic basis, these dialog boxes may interrupt the user's normal workflow.

Example scenario

An add-in that validates a Word document before save to ensure that company branding is applied might fire a dialog box that alerts the user about any problems that were found and offers a way to correct them. Because the BeforeSave event now fires automatically and continuously, this validation dialog might appear suddenly while the user is doing something else.

Microsoft Word Autosave Files Mac

Workarounds

Consider removing any code that needs to display UI to other areas of the application. For example, the user could select a 'validate' button to trigger the validation process, or you could fire the validation code only if the user attempts to change the existing data.

If you want validation code to trigger only on the first save from a new document but not on subsequent auto-saves, consider inspecting a property such as Excel's Workbook.Path before displaying any UI during BeforeSave or AfterSave. In Excel, the Workbook.Path property should be blank if the workbook does not yet have a save location.


Issue 3: Code in save events clears the undo stack (Excel only)

In general, if you run certain VBA statements in Excel, the undo stack will be cleared. For example, if you change the value of a cell by running ActiveCell.Value = 'myValue', the undo stack is cleared. If such code is present in the BeforeSave or AfterSave event for a macro or add-in, and AutoSave is on, a user of that macro or add-in will frequently not be able to undo normal user actions as expected.

Example scenario

An add-in might have code that runs in response to the BeforeSave event that inspects the document and writes values to a 'log' table in the workbook. When AutoSave is on, this would clear the undo stack periodically, which can potentially annoy users.

Workaround

Consider removing code that writes to the workbook in BeforeSave or AfterSave events. For example, the add-in described in the example scenario might be modified to store the change log in a separate file or database.


Issue 4: Code in AfterSave dirties the workbook (Excel only)

When AutoSave is on, the BeforeSave and AfterSave events will only trigger if there has been a change in the workbook since the last time they were triggered. If code in the AfterSave event dirties the workbook (that is, makes additional changes), that could potentially trigger events to fire again for the same change, and then queue up the events to fire again indefinitely. This could waste system resources and affect battery life.

Workaround

Code that dirties the workbook in AfterSave should be moved to BeforeSave or to another location entirely (see Issue 3). This isn't a good practice today, even without AutoSave, because it leaves the workbook in a perpetual 'dirty' state, which causes a prompt to appear on close that asks the user to save their changes even if they made no additional changes.


Issue 5: Code in BeforeSave cancels the file save (by setting Cancel argument to True)

Today, it is possible to cancel the save in the BeforeSave event by setting Cancel to True:

When AutoSave is enabled, the application (that is, Excel, Word, or PowerPoint) triggers saves automatically on a continuous basis until the file has no more unsaved changes. After the user makes a single change to the file, the application attempts to save it.

Microsoft Autosave Path Mac Os

If the developer chooses to cancel the save in the manner described earlier, the application continually determines that there are unsaved changes, which causes the save to (eventually) be attempted again. Because the same event code that cancelled the first save will also cancel this second save attempt, the process will continue for as long as the file is open, potentially degrading performance and battery life.

Example scenario

An add-in might completely override the default Word save code so that the file is saved to a corporate database instead of to a disk or SharePoint location. Such an add-in would first cancel the attempted save before trying to save in another place.

Workaround

Such add-ins should ensure that AutoSave is turned off by setting AutoSaveOn to False. Because a file must already be saved in a OneDrive or SharePoint location for AutoSave to be on, AutoSave should already be off or disabled in most versions of this scenario.

Onedrive Autosave Mac

See also

Support and feedback

Excel For Mac Autosave

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.

Comments are closed.