Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2017, 06:12 PM
Amitti Amitti is offline Sort tables and their titles Windows 10 Sort tables and their titles Office 2010 32bit
Novice
Sort tables and their titles
 
Join Date: Mar 2017
Posts: 7
Amitti is on a distinguished road
Default Sort tables and their titles

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.
Reply With Quote
  #2  
Old 04-10-2017, 07:01 PM
Amitti Amitti is offline Sort tables and their titles Windows 10 Sort tables and their titles Office 2010 32bit
Novice
Sort tables and their titles
 
Join Date: Mar 2017
Posts: 7
Amitti is on a distinguished road
Default

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.
Reply With Quote
Reply

Tags
captions, sort, tables



Similar Threads
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
Sort tables and their titles convert first row to titles guycruls Excel 1 01-13-2015 04:27 PM
Sort tables and their titles Print Titles Not Formatting Redink20 Excel 14 05-17-2011 09:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:06 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft