Find captions on Word
Hi everyone,
I am an amateur of VBA and have a problem that I have spent quite a while and still couldnt solve it, could anybody help me out please.
Problem:
I am using captions in Word to label charts and tables and have a list of figures which is generated by 'Insert table of Figures'.
E.g. The list of figures is on P.1, below is the list of figures that I have
Figure 1 ABC ... P.2
Figure 2 DEF ... P.3
What I would like to do is to have a VBA code that loops through the list and generates a message box during each step which includes the entire caption, e.g. For step 1, the message box would show 'Figure 1 ABC', for step 2, the message box would show 'Figure 2 DEF'. Please find attached a word document with the problem I described.
Thank you!
Please ask any questions, since I am not sure whether I have explained the problem clearly.
|