View Single Post
 
Old 07-24-2019, 08:16 AM
afif afif is offline Windows 7 64bit Office 2016
Novice
 
Join Date: Jul 2019
Posts: 16
afif is on a distinguished road
Default Generating automatic caption for table based on document section

I'm wondering whether it's possible to use VBA to generate automatic table caption based on the section where the table is in (for example there is a document about sales of any kind of vehicle. chapter 3 contains information about car (so the heading is like chapter 3. Car ). Inside this chapter, there is a table about car sales. The caption of the table is generated by reading the heading/the title of the section).

I'm trying to put automatic caption on tens of tables in a document. It is not that good if the caption only contains the table number (Table 1, Table 2, etc) without any other information.
Thanks in advance.
Reply With Quote