Macro for adding columns to selected word tables
I want to create a macro to add a column with header 'Observed Behavior' to every table in the word document which has the column 'Input' in the table.
The value inside the column 'Observed Behavior' should be 'SAT' for all the rows in the those particular tables.
The new column 'Observed Behavior' should be the last column right next to the column 'Input'.
and it should not be added in any other table in the document.
eg:
original doc
After using macro:
ID |
INPUT |
OBSERVED BEHAVIOR |
1 |
A |
SAT |
2 |
B |
SAT |