Quote:
Originally Posted by gmaxey
How many tables are in "C:\Path\DocName.docx?" The code you have posted only adds one table so it impossible for it to still create "the tables" (plural) as you indicate. Did you delete the 10 objective tables from the file above.
BTW why are you using a document file instead of a template file (.dotx)?
|
There are 7 tables before the objectives, then up to 10 objective tables, and a conclusion table. So in total 18.
I deleted the objective tables from the word document. In excel I input two objectives and tested it as I was going along. It was creating the tables with headings although the excel textbox was blank. What I was hoping it would do is only create the table if the textboxes had text in.