Hello,
I need a bit help with the below request. I need to loop through all word documents in a given folder, probably about 30-50 word documents. Each one has the same template, and I need to extract information from the first and second tables from each word document. The two tables look like something as below:
1st table
2nd table
I need to write a VBA script to loop through all word documents including the above 2 tables (the rest of information I do not need to extract). And then paste them all into excel line by line in the below format:
Each line above represents one word document's table information (i.e. per student).
Could something help me with that? Thanks!
I need a bit help with the below request. I need to loop through all word documents in a given folder, probably about 30-50 word documents. Each one has the same template, and I need to extract information from the first and second tables from each word document. The two tables look like something as below:
1st table
Name | A |
Student id | B |
Subject | C |
2nd table
Year 1 | Year 2 | Year 3 | Year 4 | |
Biology | D | E | F | G |
Physics | H | I | J | K |
Maths | L | M | N | O |
I need to write a VBA script to loop through all word documents including the above 2 tables (the rest of information I do not need to extract). And then paste them all into excel line by line in the below format:
A | B | C | D | E | F | G | H | I | J |
A | B | C | D | E | F | G | H | I | J |
A | B | C | D | E | F | G | H | I | J |
Each line above represents one word document's table information (i.e. per student).
Could something help me with that? Thanks!