Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 03-13-2016, 08:47 AM
gmaxey gmaxey is offline prevent word fields from unlink Windows 7 32bit prevent word fields from unlink Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

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
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
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
prevent word fields from unlink Unlink source files when creating Church Directory with INCLUDEPICTURE JohnFinNC Mail Merge 3 09-18-2014 08:50 PM
prevent word fields from unlink How do I prevent the "author" or "owner" fields from being changed? 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

Other Forums: Access Forums

All times are GMT -7. The time now is 03:30 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft