View Single Post
 
Old 02-03-2019, 07:42 AM
BeginnerLearner BeginnerLearner is offline Windows 10 Office 2013
Novice
 
Join Date: Feb 2019
Posts: 22
BeginnerLearner is on a distinguished road
Default How to get all headers text in a Word Document ?

Hi,

I have a Word Document.
Every page has a header.

Right now I am only able to get the current page header.

Eg. If the page is currently at page 3, it will only display page 3 header text in a MessageBox.

The attached image is what I have tried.
I was thinking is it I have to use a For loop to get all pages' header text?

Thank you
Attached Images
File Type: jpg HeaderText.jpg (32.8 KB, 60 views)
Reply With Quote