Hey I am trying to build a robot that simply reads an Excel file. Now I want to share this robot with a coworker, I am sharing the whole project with the Excel file inside.
Problem is, I have to hardcode the Excel file path to read it and this path will probably be different when my coworker downloads it.
What is the solution here? Thanks a lot.
You can create a configuration file, where you can store the path of all the files you are working on with.
Have a look on this thread it will help you out.
Please could you Help me in
a. Creating a Config File using Excel , where we can store all the related info like Paths, variables, etc. I have gone through the Academy Video under Advanced training BUT NOT able to understand it.
b. How to Use the Config file after created.
Please could you help me in advance as i am in need of same in my Project.
Much Appreciated your kind Help & Supports always…!!!
Thanks in Advance & Thanks Again…!!!
welcome in the UiPath community.
You can also use Environment.CurrentDirectory() method as long as the Excel file is in your project folder. This methods delivers the path to your project folder.
This worked, thank you so much.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.