sullivanne
(Sullivanne)
1
Hi, I would like the robot to give me the number of rows in excel without the header.
What I am doing:
- read range (activity from excel), write to the variable “test”
- set variable value test=test.rows.count - but shows error “Value of type integer cannot be converted to datatable.
How can I solve this? 
@sullivanne,
You are assigning integer type of data to a datatable variable.
Declare an integer type of variable and then assign
intRowCount=test.rows.count
sullivanne
(Sullivanne)
3
Thank You, but the robot instead of the number of rows shows me the name of the sheet in message box 
@sullivanne,
Can you please show how you are using the activities for this. Looks like something got configured incorrectly.
Hi, Change the log message variable to ‘test2’ instead of ‘test’
1 Like
@sullivanne,
Use test2
variable in message box
1 Like
system
(system)
Closed
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.