View Single Post
  #1  
Old December 14th, 2010, 05:00 PM
Neron Neron is offline
Experienced Member
 
First recorded activity by OfficeFrustration: Jul 2005
Posts: 34
Default Format Table of Figures and Tables

Hi all,

Another nice challenge has crossed my path, and I'm not yet able to solve it.

I have made a macro using VBA in order to insert an image / table, but also to create a caption and title for this image / table.
In this report, the company rules dictate the caption (Figure #) and the tile (description of the image) to be on different lines, using different styles. E.g.:

buFigure 1/u/b
iImage title/i

This works fine throughout the document. The problem now is inserting the ToF. Using Styles or using Sequences, it seems to me that I'm restricted to either my caption or my title. E.g.

either
[Figure ##].......[PAGE}

or
[Image title].......[PAGE]

will be shown in the document.

Does anyone know if it's possible to combine both caption and title in a ToF, so it will produce something like:

[Figure ##]: [Image title].......[PAGE]

Lots of thanks

Bert