How to exit a Header or Footer
Posted: 2022-03-24 05:53:32
I have a simple macro to insert a TOC, go to the Footer, add a page number some text and then the total number of pages:
I cannot see a command in the menu to out of a footer or header.
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?
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?