All,
I'm trying to modify some code that extracts the first table from each word document in a folder and places it into excel. What I would like to achieve is to have the macro extract all of the tables from each word document and place them into excel. The issue lies with the code specifying a single table (oDoc.Tables(1).Range.Cells) and I can't seem to figure out how to modify the code so that it will extract all of the tables in each word document (I've tried looping it another way, but I'm not very experienced with VBA).
Any help would be greatly appreciated. Again, the code is perfect except for the fact that it only takes the first table from each document as opposed to all of the tables from each document.
Code:
![]()
Please Login or Register to view this content.
Bookmarks