![]() |
#8
|
||||
|
||||
![]()
Hi Tom,
It seems to me you're not so much using this template to distribute macros as to create an altenative way of creating a new document based on a template. You could probably achieve much the same result using something based on: Application.Dialogs(wdDialogFileNew).Show from the users' Normal.dot(m) template. Be that as it may, it might be useful if you can track down the point at which your global template's state is changing to unsaved. Here's some code to try: Code:
Sub Test() Dim Doc As Document For Each Doc In Documents MsgBox Doc.AttachedTemplate.Name & vbTab & Doc.AttachedTemplate.Saved Next Dim Tmplt As Template For Each Tmplt In Templates MsgBox Tmplt.Name & vbTab & Tmplt.Saved Next End Sub
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
HAWJOHN | Word | 1 | 04-05-2011 06:47 AM |
![]() |
ryalls3857 | Word | 1 | 12-27-2010 05:45 PM |
2003 word template help??? | gawd89108 | Word | 1 | 03-08-2010 05:58 PM |
Word 2003: Do you want to save changes always popping up | aedwards | Word | 0 | 02-23-2006 02:14 PM |
![]() |
rnstewart | Excel | 2 | 12-28-2005 04:30 PM |