![]() |
#4
|
|||
|
|||
![]()
I you could use another procedure if you want. I was just trying to show that ThisDocument refers to the document (or template) that contains the code.
For example: Debug.Print ThisDocument.Name is going to return the name of your template. Not the name of the actual document you may be doing a process on. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
New Daddy | Word | 7 | 02-24-2017 03:52 PM |
![]() |
anandyrh | Word | 1 | 08-14-2013 12:08 AM |
Custom Document Property Lost From Template | bhaughey | Word | 8 | 03-05-2013 02:11 PM |
![]() |
untttt | Word | 2 | 06-09-2011 05:24 PM |
Update Document Template when Saving the Document File | bjbercaw | Word | 3 | 11-16-2010 02:03 PM |