![]() |
#29
|
|||
|
|||
![]()
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 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mapped Content Controls in Building Blocks? | Charles Kenyon | Word | 6 | 05-21-2021 05:40 PM |
Stop hyperlink to a file from changing address - causes problems with pdf | c.davidson | Word | 1 | 09-15-2020 11:11 PM |
![]() |
Genericname1111 | Word | 0 | 05-20-2020 04:17 PM |
![]() |
thoerzer | Word | 5 | 10-10-2019 12:10 AM |
Changing Absolute path to Relative in a Macro | MrKim | Excel Programming | 13 | 01-26-2019 02:18 PM |