![]() |
|
#6
|
|||
|
|||
|
Thank you for the helpful responses!
While testing your code samples, and more of my own, I began to question the requirement that the cursor be inside a table. For example, what if the cursor is immediately AFTER a table? That should be OK. Through trial-and-error, I learned that this instruction... Code:
Selection.Tables(1).Select ...selects the table above when the cursor is on the blank line that follows a table. My guess is that the blank line inherits the formatting carried by the end-of-table marker. It's as if the blank line is programmatically part of the table that precedes it. But the blank line doesn't get selected. I learned a lot today! |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
How to Select All or Part of a Table in Word
|
jeffreybrown | Word VBA | 2 | 09-03-2018 08:23 PM |
| Looking to copy select cells in table using dropdown list to paste to new table in another worksheet | CaptainRetired | Excel Programming | 18 | 01-04-2018 07:22 PM |
| VBA Word Table - Select More than 1 Column at a time - Apply Formatting | jc491 | Word VBA | 12 | 09-24-2015 06:03 AM |
Can't select a cell in my table
|
dilorenzoc | Word Tables | 1 | 06-03-2015 05:56 AM |
Select Text in Table but Table Gets Selected Too
|
RBusiness | Word | 1 | 06-07-2011 04:26 PM |