cancel
Showing results for 
Search instead for 
Did you mean: 

Facing issue in MS word formatting using blue prism

SwapnaliMehetre
Level 2
Hi,

I am generating employees letter in MS word and converting it to PDF.But facing the issue of MS word letter formatting like Alignment,Date need to at right hand corner of letter,Some sentence of letter need to be in middle with underline,required text in bold etc.
Please suggest me a way of doing it.


Thanks
Swapnali Mehetre.

------------------------------
Swapnali Mehetre
------------------------------
1 REPLY 1

MadhurChopra
Staff
Staff
Hey Swapnil,

The standard VBO for MS Word does not include the ability to format text. However, you can extend it by adding your own actions to the object for formats. The object (In Word object model) that aligns paragraphs is called the Paragraph object and the application is quite simple. You can find more information on it at https://docs.microsoft.com/en-us/office/vba/api/word.paragraph.

You can use the current code stages in the Word VBO as examples and add you own page to format the text. Please remember that it is always best practice to copy the standard object before you customize it.

I hope this helps.

Regards.

------------------------------
Madhur Chopra
Sr. Product Consultant
Blue Prism - Professional Services
America/Los_Angeles
------------------------------