I have a Word document with multiple tables. In each of those tables, I have multiple labels.
Then, I have a macro, that loops through all the labels and I would like to it look at the name of the label and name of the table. From this information, it will look into excel file and locates the correct cell data to fill in the label caption.
The problem is, that I do not know how to populate the names for the tables. At this moment, if I ask for the table.id or table.title, it is blank. If I fill the id with VBA, save the file, close it and open it, the id is empty again.
Any idea how this can be done?
Then, I have a macro, that loops through all the labels and I would like to it look at the name of the label and name of the table. From this information, it will look into excel file and locates the correct cell data to fill in the label caption.
The problem is, that I do not know how to populate the names for the tables. At this moment, if I ask for the table.id or table.title, it is blank. If I fill the id with VBA, save the file, close it and open it, the id is empty again.
Any idea how this can be done?
Last edited: