View Single Post
 
Old 08-18-2020, 04:20 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,106
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

Change the oDoc.SaveAs2 line to
Code:
oDoc.SaveAs2 FileName:=strPath & strFileName & ".docm", Fileformat:=wdFormatXMLDocumentMacroEnabled
to save a working version of the saved document.


You may find https://www.gmayor.com/insert_content_control_addin.htm useful when working with content controls
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote