Bold lines in ms office


#1

Based on certain logics, i am creating word documents and then sending the document to certain ppl via outlook email.

How to bold lines in word document in uipath? When i write line- invoice number. How to.bold it?


#2

Without writing some bespoke code in VB.Net or C# the options you have are

  1. Open the file - find the text and use hotkeys e.g. Ctrl+A then Ctrl+B
  2. Use VBA to do the same but call the macro from UiPath using ExecuteMacro

There is talk of a Write Code activity which would make the bespoke code easier to implement rather than creating nuget packages, however, this is not available just yet.

Richard