![]() |
#5
|
|||
|
|||
![]()
Do the templates have names?
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey If ActiveDocument.AttachedTemplate.Name = "Name of the template I don't want to unlink fields in.dotm" Then 'don't unlink fields Else Unlink Fields End If lbl_Exit: Exit Sub End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Word tables: prevent word from highlighting whole cell when I highlight text | skylark53 | Word | 2 | 08-04-2015 08:12 AM |
![]() |
JohnFinNC | Mail Merge | 3 | 09-18-2014 08:50 PM |
![]() |
Bones | Word | 3 | 06-08-2012 12:15 AM |
Word 2010 - DOCX File with fields -> PDF with fields | senglory | Word | 2 | 03-27-2012 10:10 AM |
Unlink Chapter Numbering from Template | Daved2424 | Word | 0 | 11-26-2010 11:44 AM |