Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 05-26-2015, 01:14 AM
gmayor's Avatar
gmayor gmayor is offline Error 5941 when running my macro to auto populate fields throughout the word doc Windows 7 64bit Error 5941 when running my macro to auto populate fields throughout the word doc Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

For the REF field to update, the Calculate on Exit check box of the cross referenced field must be checked and the cross reference must be in the body of the document and not in the header/footer or a text box. For references in the header footer, use a StyleRef field instead, but for that you will need a unique character style name applied to the referenced text.

From your description, one or more fields has lost its bookmark. Start by checking Text118.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
 

Tags
5941, autopopulate, error



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 5941 when running my macro to auto populate fields throughout the word doc Auto populate & auto calculate values from other sections in the same word document Frantic Word VBA 2 01-24-2015 04:54 PM
Populate Word Drop-down list with Excel column then auto fill form fields with Excel data Faldinio Word VBA 7 10-19-2014 06:03 AM
auto populate fields for multiple files w/in folder jbyrd Word 0 07-21-2014 07:35 AM
Run-time error 5941 when deleting a row from a table jpb103 Word VBA 1 05-26-2014 07:08 AM
Auto-populate from form fields kenelder Word 3 05-23-2013 07:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:45 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