I've got a Word (2010) macro written in VBA that changes the footers in a whole folder of different documents, by opening them one at a time, making the changes, and re-saving them. I'm trying to prevent all those documents opened by the macro from appearing in my File/Recent list, but they do. Here's the relevant snippet of code:
file2open = projectfolder & ExistingDoc(E, 0, 0) & "\" & ExistingDoc(E, counter, 0)
Set changedoc = Application.Documents.Open(FileName:=file2open, AddToRecentFiles:=False)
' change footer
Any idea why this isn't working?