Thread
:
FileSaveAs and UpdateAllFields macros not working in new document
View Single Post
03-30-2015, 09:54 PM
gmayor
Windows 7 64bit
Office 2010 32bit
Expert
Join Date: Aug 2014
Posts: 4,137
Change
Code:
oRng.Fields.Add oRng, wdFieldFileName, " \p", False
to
Code:
oRng.Fields.Add oRng, wdFieldFileName, , False
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes
www.gmayor.com
gmayor
View Public Profile
Find all posts by gmayor