Excel version

excel

#1

I need to execute one robot in two different computers to create dinamic cells into an excel. So the robot needs to open the excel file and make some clics and shorcuts into the excel.

The problem is. One computer has Excel 2013 and the other one has Excel 2007 so the selectors and images are very differents.

I want to know if there is a way to know the version of the software, then if it is excel 2013 I can invoke one xaml to configure in excel 2013 AND if it is excel 2007 I can invoke one xaml to configure in excel 2007.


#2

Hi @KevinDS

I am sure there is a lot of ways to do that. My first instinct would be to check the path to Excel.exe and read the version number from the path:
C:\Program Files (x86)\Microsoft Office\root\Office16\EXCEL.EXE

For invoking different workflows, a simple IF statement activity will do.


#3

Yep, only if or flow decision activity can help here.