![]() |
#1
|
|||
|
|||
![]()
I have a Word document that contains tables, each of which has a caption, or title, above it. Each title is unique to the table below it. I am able to sort the tables based on a numeric value in one of the cells. But I don't know how to sort the tables together with their titles.
Is there a way to associate a table with a specific paragraph so they can be sorted together? Can you please suggest a different way to go about it? Thanks. |
#2
|
|||
|
|||
![]()
I figured it out.
Created a user defined type that contains two members: a table and a string. Created an array of this type and stored each table and its corresponding caption in the array elements. From there, sorting the array was straight forward. |
![]() |
Tags |
captions, sort, tables |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Section titles | dtp81390 | OneNote | 0 | 03-18-2016 05:18 AM |
Titles: How to find the subtitles | Sporally | Word | 6 | 06-08-2015 04:01 PM |
![]() |
guycruls | Excel | 1 | 01-13-2015 04:27 PM |
![]() |
Redink20 | Excel | 14 | 05-17-2011 09:40 AM |