Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-12-2016, 07:56 AM
mktate mktate is offline prevent word fields from unlink Windows 10 prevent word fields from unlink Office 2010 64bit
Novice
prevent word fields from unlink
 
Join Date: Dec 2015
Posts: 26
mktate is on a distinguished road
Default prevent word fields from unlink


I have a userform that opens multiple word documents and then fills in docvariables via user form questions. When completed, I used ActiveDocument.Fields.Update then ActiveDocument.Fields.Unlink as we do not want to keep the fields in these completed documents. However, I have added one additional document and would like to keep all of the data/fields and NOT have this one document unlink fields. I have a separate macro button for this separate file, but users are sometimes not closing/saving the new file first, so then when they run the remainder of the userform, they end up unlinking the fields on all documents, including the one where we don't want it to. I tried ActiveDocument.Fields.Unlocked = True, but I think unlocking must only prevent field updates and does not prevent unlinking. Is there VBA that would protect this one document's fields while other active documents are being unlinked? Thanks.
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 12:36 PM.


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