Yes. Removing page number requires selecting the number on the page (Header or Footer), and the Macro records:
Selection.Delete
which is not useful at run time in VB/VBA
I need to remove page numbers from a Word Doc using VB/VBA.
I guess when you insert page numbers, they get inserted into the Header or the Footer as per your choice. I need to delete the page numbers inserted by previous user of the document.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.