-
Word link to template
Hello, I need to create a link in a Word document(.docx) to a Word template(.dotm), these two documents are in the same file and this file must be able to move to another location or to another computer.
I tried hyperlinks but it opens directly the .dotm document and doesn't create a copy of it.
I tried a macro associated with a button but when I move my file, the link is broken.
Any solution ?
Thanks
-
I found the solution : I used the content of the macro and I put it directly into the function, I changed the link a little bit, I removed the first part of the link (file://C:\Users), it seems to work like that.
Private Sub CommandButton4_Click()
Documents.Add Template:="Part1\doc1.dotm" _
, NewTemplate:=False, DocumentType:=0
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules