So how can I solve the issue. My end goal is to extract that page wherever the search text is found.
Word doc in which I am trying to search is that which I have converted from pdf to word using macro. If you can help me in that macro so that while conversion nothing goes in the headers, even that will solve the purpose.