From the course: Complete Guide to UiPath RPA Development
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Solution: Read Excel config file - UiPath Tutorial
From the course: Complete Guide to UiPath RPA Development
Solution: Read Excel config file
- [Instructor] Okay, let's get started on the solution. I'll double click and rename my main sequence to read Excel config file. And now within this scope, I'll click on variables and click here to create a variable called config. And as we learned in the dictionary's lecture, in the variables section, I'll set my variable type by clicking on browse for types, and I'll type in dictionary with a less than symbol, and I'll make sure dictionary TKey TValue is selected. I'll choose string for the type of my key and object for the type of my value. click on okay to save that. And now I can close up my variables, CTRL+S to save. And now the gist of how this is going to work is we're going to read the range in here which is going to give us a data table with two columns, name and value. And of course it's going to have five rows. And we're going to need to loop through those five rows of the data table that we get by reading the range and then add a new dictionary item for each of these name…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Overview2m 17s
-
Excel/worksheet activity overview7m 47s
-
(Locked)
Excel vs. workbook nuances6m 15s
-
(Locked)
Read Range - Workbook6m 35s
-
(Locked)
Read Range - Excel8m 14s
-
(Locked)
Write Range - Workbook & Excel8m 3s
-
(Locked)
Read range, modify data table, then write range16m 4s
-
(Locked)
Read and write cell data8m 30s
-
(Locked)
Challenge: Read Excel config file2m 39s
-
(Locked)
Solution: Read Excel config file7m 49s
-
(Locked)
-
-
-
-
-
-
-
-
-
-
-
-
-