![]() |
|
#4
|
|||
|
|||
|
Quote:
They are creating documents to go to someone else using your Custom UI? If in code, you refer to ThisDocument instead of ActiveDocument it gives reference to the file holding the code. Global templates go in the Word Startup Folder. I can give you code to identify this folder if you need it. ? Application.StartupPath in the Immediate Window identifies it. Here is a macro Code:
Sub ShowStartUpPath()
' Macro written by Charles Kenyon 2014-02-25
' Shows setting for Startup Folder location in Microsoft Word in a message box.
'
MsgBox _
Prompt:="Your StartUp folder location is " & _
Application.StartupPath & _
"." & Chr(13) & Chr(10) & Chr(13) & Chr(10) & ".", _
Buttons:=vbOKOnly, _
Title:="Current Startup Folder Setting Information"
'
End Sub
|
|
|
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 |