Good evening,
I have a dotm template and I would like to run it from a custom menu in the word BACKSTAGE.
The idea is to run it as if I had clicked on it with the mouse, so that a docx document is created based on the template in question.
I tried :
Documents.Open FileName:=mydotm, format:=wdOpenFormatDocument but it opens the dotm, it doesn't create a docx as desired
I also tried :
ActiveDocument.FollowHyperlink mydotm but it does the same thing
Does anyone have a solution to give me?
Sincerely,
David
Translated with
www.DeepL.com/Translator (free version)