#1
|
|||
|
|||
Figure numbering fix
The figure numbering is messed up on my document because so many people have edited it incorrectly. Now every time I want to update it or insert a figure it is ridiculous what I have to do. So instead of trying to figure out what is wrong, I would like to do this: I have removed the figure numbering and the captions from the document. So now my document has un-labeled figures. I have the captions text still, but they are not numbered. It is just a plain-text list. This is what I want to do:
loop through the pictures in my document (and the caption text list) and add an official caption to each picture that just says "Figure x: <caption x text>" basically, I have 200 pictures, and a corresponding list of 200 captions. I want the captions to be numbered and placed as official numbered captions on the pictures. and I also want to be able to generate a dynamic figure table of contents based on the figures. by dynamic, I just mean it is generated from the actual figures/captions in the document and has the correct page number, and can be clicked to jump to the actual figure. I will then protect the document with my life and be the only one allowed to update it. I will update it correctly so that everything updates cleanly. Please help me. I am actually a programmer but I don't know the first thing about VBA. Please include where I should place the captions list, and then the code to access it and loop through it |
#2
|
||||
|
||||
You didn't specify where the caption text was going to be found so that task may be manual. To automate adding a caption to all Inline Shapes you could run the code here https://sukhbinder.wordpress.com/201...word-document/
This code won't find any floating pictures (those with text wrapping) so you'll have to post back if this is a problem for you. Once the "captions" are in place, you will need to put the 'caption text' into those paragraphs. The Table of Figures can then be inserted anywhere you like. This is a simple field but you can insert it without vba since it is a one-off. Go to References > Insert Table of Figures
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrong numbering in Figure/Tables' captions | Shauheen | Word | 6 | 06-13-2017 12:07 PM |
Figure and Table Numbering Format Change | hojkoff | Word | 3 | 06-18-2013 01:57 AM |
MS Word figure caption numbering | skaboy607 | Word | 3 | 03-21-2012 02:31 PM |
Correct figure auto-numbering | JFax | Word | 1 | 05-08-2011 09:46 PM |
Changing Figure Numbering Fields 0-1, 0-2, 0-3 | chrishart7 | Word | 0 | 09-03-2010 12:59 PM |