Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-15-2019, 07:10 AM
gmaxey gmaxey is offline Word Document_ContentControlOnExit Macro to Update a Table Windows 10 Word Document_ContentControlOnExit Macro to Update a Table Office 2016
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

Graham,


Been tinkering on the sidelines this morning. See if the attached addresses the
"...however using a repeating section content control to duplicate the table doesn't appear to produce the desired results" issues you mentioned. It seems to work here.


I added content controls in the fill in table. When a new table is added, the CCs reset to placeholder text and the first CC is selected.





Edit: The "Add Table" command button is now an "Add Table" control on the QAT.
Attached Files
File Type: docm Adding Data and updating Chart Ver. 1.1.docm (64.1 KB, 13 views)
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
  #2  
Old 04-15-2019, 08:40 PM
gmayor's Avatar
gmayor gmayor is offline Word Document_ContentControlOnExit Macro to Update a Table Windows 10 Word Document_ContentControlOnExit Macro to Update a Table Office 2016
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

Quote:
Originally Posted by gmaxey View Post
"...however using a repeating section content control to duplicate the table doesn't appear to produce the desired results" issues you mentioned. It seems to work here.
I found that using the original document, the second table would repeat the selection in the first, so I felt it quicker to do it in a way that I knew would work that the OP could adapt, rather than spend my time trying to resolve the the original setup. Better the devil you know.
__________________
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
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Macro to update the layout of document joaoossilva Word VBA 4 11-07-2016 01:11 PM
How can I use a Macro to automatically update all the pictures in a word doc GezLundy Word VBA 3 06-12-2014 03:23 AM
Word Document_ContentControlOnExit Macro to Update a Table Document_ContentControlOnExit Catty Word VBA 2 11-29-2013 04:49 AM
Word Document_ContentControlOnExit Macro to Update a Table Update Word table based on another table input mpdsal Word VBA 10 10-29-2012 07:40 AM
How do you update existing Outlook calendar item from Word with macro? Joe Patrick Word VBA 0 07-09-2011 05:32 AM

Other Forums: Access Forums

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