![]() |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#4
|
||||
|
||||
|
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] |
|
|
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 |
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 |
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 |