cancel
Showing results for 
Search instead for 
Did you mean: 

How to add page numbers in word or pdf using Blue Prism?

HarishM2
Level 6
Hi,


How to add page numbers in word or pdf  ? The only way is to spy  the page number option in word? or is there any othe rbest way to do it?


Thanks,
Harish

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

ewilson
Staff
Staff
Hi Harish,

Are you talking about turning page numbering on for an entire document that didn't previously have them? There is a PageNumbers interface in the Microsoft Word interop library that could be used via a Code stage. Unfortunately, this capability doesn't exist in the current Word VBO, but you could add an action to your local copy and flesh it out.

You can find more info about this interface here: https://docs.microsoft.com/en-us/dotnet/api/microsoft.office.interop.word.pagenumbers?view=word-pia

Cheers,


------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------