Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 09-14-2017, 04:03 PM
macropod's Avatar
macropod macropod is offline Code to find a named (bookmarked?) table, replicate a row or table, and delete a specified table. Windows 7 64bit Code to find a named (bookmarked?) table, replicate a row or table, and delete a specified table. Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,520
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Your reference to 'placeholder text' has been quite misleading; it seems all you're referring to is some boilerplate text in the first cell of a table; in the context of a document using many content controls, where 'placeholder text' has a particular meaning, your use of the same term for something totally unrelated causes confusion. of course, the simple solution in this case would be to actually add a content control with some appropriate 'placeholder text' and/or a suitable title so you can test that instead of the raw cell content.

Frankly, though, you code needs a lot more attention than just that; your unlocking/locking of content controls, for example, is quite unnecessary. For adding table rows with content controls, for example, have a look at:
https://www.msofficeforums.com/word-...tml#post119230. And, for adding entire tables with content controls, have a look at: http://www.vbaexpress.com/forum/show...l=1#post369226
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word Macro to delete table row and table header NorthSuffolk Word VBA 6 10-11-2016 05:04 AM
Want to delete balnk line row from table with MS word using VBA code jarunsona Word VBA 3 07-21-2016 04:54 AM
Creating VBA Code to Delete Empty Column in Table Faugs Word VBA 5 08-07-2014 03:29 PM
Code to find a named (bookmarked?) table, replicate a row or table, and delete a specified table. Referencing rows of a table at a bookmarked location based on the value of a column jpb103 Word VBA 11 05-22-2014 08:33 AM
Code to find a named (bookmarked?) table, replicate a row or table, and delete a specified table. VBA Code to take data from a table in word document and place it in a summary table VBLearner Word VBA 1 03-09-2014 08:42 PM

Other Forums: Access Forums

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