Consulting

Results 1 to 2 of 2

Thread: Word macro Autosave

  1. #1
    VBAX Newbie
    Joined
    Mar 2015
    Posts
    1
    Location

    Word macro Autosave

    Hello,

    I have a macro in word to save active documents every 5 minutes.
    How do I change the macro to NOT SAVE the files opened from a specific network folder?

    Thx

  2. #2
    As you have not posted your code, it is not possible to be specific, but you would need to add a condition to your code

    IF Not ActiveDocument.Path = "C:\Path\" then 'Change to the network path in question
        'Save the file code
    End IF
    Graham Mayor - MS MVP (Word) 2002-2019
    Visit my web site for more programming tips and ready made processes
    http://www.gmayor.com

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •