![]() |
|
|
Thread Tools | Display Modes |
#8
|
||||
|
||||
![]()
You can't name the table itself but you can use other methods to identify particular tables.
For instance you can place a bookmark in a table and then use something along the lines of ActiveDocument.Bookmarks("bmname").Range.Tables(1) The beauty of using a bookmark is that it can't exist in more than one place so if you copy and paste that table, the copies won't also have the bookmark in them. You can also iterate through the tables to find each one that matches your pattern. eg For each aTable in ActiveDocument.Tables if aTable.Style = "Fred" then 'do something end if Next aTable
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
Tags |
copy and paste, headings, table |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
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 |
![]() |
Joey Cheung | Word Tables | 1 | 08-12-2014 05:15 PM |
![]() |
ezrayst93 | Word | 5 | 07-21-2014 11:06 PM |
![]() |
theheartsmaster | Word Tables | 1 | 12-10-2012 04:10 AM |
How to have this Heading – Table of contents style? | Jamal NUMAN | Word | 0 | 01-13-2011 06:02 PM |