Center cells in Excel with vb.net

Hello.

How can I center the cells in an excel file with vb.net?

Thanks

Hi @Maria_Ines_Almeida
Check this out

Thank you very much for your answer but those activities are for Studio X and I need a solution for Studio :slight_smile:

  1. place this vba file in your project folder
    vba.txt (252 Bytes)

  2. in uipath, excel application scope, call invoke vba

codefilepath = “vba.txt”
entryMethodName = “centerText”
EntryMethodParam = {"Sheet1", "B"} (you can change it to your own sheet/column letter)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.