PDA

View Full Version : Word macro Autosave



advo
03-03-2015, 10:50 AM
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

gmayor
03-04-2015, 12:49 AM
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