Hello
No matter how hard I look, I can't find the solution.
I created a Word doc template in which I mapped the variables I need. everything works well to fill them. However, I also want to have a revision table (SW table type), which displays 3 revisions: the first A, and the last 2 (B and C, or E and F if you can do it).
I don't know how to go about it... I tried with direct mail type fields (Yes...), but it doesn't work at all.
For example, my Revision variable is set to A. A new revision of the document is undergone. I want the first line to stay A, and the 2nd one goes to B. With IFs in word, I can't get by.
The approach in my opinion:
- 1st revision: fill in the A index and the default comment Creation
- 2nd revision: if REV <> rev_dessus, put new rev. (B). Same with the transition commentary.
- 3rd revision: if REV <> rev_dessus, put new rev. (C). Same with the transition comment.
- 4th revision: if REV<> dernière_rev_tableau, copy the last line C, paste on the 2nd line (replace B). Same as transitional comment.
put the new rev D last. Same as transitional comment.
Should you go through a macro?
Cdt