Code: Select all
Tools:Table of Contents:Insert TOC
View:Go To Footer
Insert:Automatic Number:Page Number
Type Text " of "
Insert:Automatic Number:Pages in Document
File:Save
There is a View:Go to Page… menu command which does take the cursor out of the footer, but it asks for a number, but I am not sure how to incorporate that into a macro.
Is what I wish to do possible in a macro?