cancel
Showing results for 
Search instead for 
Did you mean: 

How to read page numbers in word?

HarishM2
Level 6

Hi,

 I have some vb.net code to read page number in word but the problem is whether the page numbers are present visually or not. code  is reading the page numbers  and giving me the page count But What I 'm really looking is to check  the page number is present visually or not? and update the data item accordingly.

I know I can read Header and Footer text and  check any number present there. But the problem with that is  here is possibility that Header and footer may have numbers  appended to end of the text. So Its not reliable to use the Header and Footer text.

 Is there a best way to do it?

Thanks,

Harish



------------------------------
Harish
RPA Developer
------------------------------
1 REPLY 1

kez2fab
Staff
Staff
Hello Hamish,

one of my colleague responded to your original posts from 2 days ago.

Did you see his response? See the post: "How to check page numbers are present are not in the word document?"

If it doesn't, I would suggest to respond on the other post.

Regards,

------------------------------
Anthony Ringot
Customer Support, Team Manager, APJ
------------------------------