![]() |
|
#9
|
|||
|
|||
|
Quote:
I believe I have a working solution for now, might not be the best but it seems to work to get a usable template for next week. I can update the procedure at a later date if necessary. When I finish my working template with all code and CustomUI elements, I will make a duplicate of that UI file, strip out the CustomUI elements. The 'Doc-Template.dotm' file will be added to the 'Templates' folder, the 'Doc-Template-UI.dotm' and an alias to the 'Doc-Template.dotm' file will be added to the 'Startup' folder. I have adjusted the code to create a new document from the UI to search the Application.Templates for the correct template file instead of using 'ThisDocument' so that it will use the non-UI template. This allows me to maintain a single template that has all elements necessary for that specific document. This does mean that there are 2 templates with identical code, but that's not an issue to me. The only issue would be if i need to submit an update to the template, and someone updates one but not the other. This shouldn't be a problem for PC users, as I will be creating an installer to handle that, but for now, i will need Mac users to update the files manually. I will need to look into a similar process for Mac. Thanks for the assistance, I will look more into the Templates discussion Charles linked to earlier when I have more time to dedicate. |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Saving Notes View into Word Template | caz46 | PowerPoint | 0 | 06-24-2015 01:29 AM |
| Removing digitally signing when saving | plasma | Word | 0 | 05-26-2015 08:36 AM |
| Saving a template file | dreamz | Word VBA | 10 | 06-26-2014 04:38 AM |
Looking for best way to remove VBA and CustomUI from a file via VBA
|
Cosmo | Word VBA | 1 | 04-25-2014 06:19 PM |
| Update Document Template when Saving the Document File | bjbercaw | Word | 3 | 11-16-2010 02:03 PM |