#1
|
|||
|
|||
run a dotm template
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) |
#2
|
|||
|
|||
it seems to me that I have found a solution with :
Documents.add mydotm,WdNewBlankDocument |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Import setting from .dotm template | Bikram | Word VBA | 2 | 11-03-2022 12:08 AM |
Cannot save some changes to normal.dotm template | wiganken | Word | 2 | 12-02-2020 03:28 AM |
New template/New normal.dotm | kenglade | Word | 3 | 12-19-2011 04:00 PM |
How to use .dotm template extension in MS Word? | dude444 | Word | 0 | 09-20-2010 09:34 AM |
template dotm unable to load in word 2003 | dude444 | Word | 0 | 09-16-2010 02:13 PM |