View Single Post
 
Old 03-23-2022, 01:14 PM
gorkac gorkac is offline Windows 10 Office 2019
Banned
 
Join Date: Jul 2021
Location: Usa
Posts: 62
gorkac is on a distinguished road
Default

But when I right click on the template, the context menu shows Open, New, Print, Save as...etc. The New option opens a document based on the template, however the Open option opens the entire template.
Captura1.PNG

On the other hand, I have programmed a button on the ribbon to save in the appropriate format, based on the template, but none of the options work for me. And that the Document1 document that is opened is in docx format
Code:
Sub Docm(control As IRibbonControl)
              With Dialogs(wdDialogFileSaveAs)
            .Format = wdFormatXMLDocumentMacroEnabled
            .Show
      End With
End Sub
Reply With Quote