How to retrive header and footer from word document?

Hey,

I want to extract text from the header from a word document.
How can I easily get a text from the header?

Note: I have different headers at different page number

Anyone can please help me.

@tejastandel007 Can you refer to this post, Which might be able to get what you need.

Hi @tejastandel007,

Here is the link that It has the sample with video explanation about to read the header and footer from the word document.

Regards
Balamurugan.S

1 Like

Thanks for this. Its working fine

1 Like