r/visualbasic • • May 11 '20

VB program I am working on

Hello,

I am working on a VB script that can pull out information about tracked changes in Microsoft Word. If you make a change, the script should be able to figure out where (what page) that change occurred. This I have down, and I modified the code below slightly (I did some Google searches, found this great code, then modified it). However, I also want to make it so the revision at which the change occurred also prints. For example, if you make a change to page 4 on Revision 1.1, the script should print a table with "4" in one column, and "1.1" in the column next to it. Conversely, if other changes are made to page 4 but on revision 1.2, it should then print another line that has "4" and "1.2" on it. This is the part I cannot get working. How would you do this?

https://ideone.com/Ed1wfI

5 Upvotes

6 comments sorted by

View all comments

1

u/infreq May 12 '20

Does this not fit better in r/VBA?

1

u/Popilou1 May 12 '20

r/VBA

I will try it, thanks.