Im trying to read a cell from Excel, and printing it to the screen using Message box.
I tried to convert the variable to int32 using the assign activity, but it is not working as intended.
But I get this message saying something like: Comma or valid expression continuation expected. Am I typing something wrong in the Assign activity?
I have found one similar question on this forum, but did not find a precise answer.
Allright, I removed the “As Integer”, but it stil lwould not work and gave me the error message “int32 Converter cannot convert from System.Double” and refers to the Read Cell activity. The output of that activity is stored in Variable with type int32. Is the variable type wrong? The cell in excel contains a number and not text, so therefore i chose int32.
Changed the variable type to System.Double. Now it works, but I dont know why, and I had to make a new sequence with a new variable. First I tried to change the existing variable to type System.Double, but then I got error " StringConverter cannot convert from System.Double". But after I made a new sequence it works. Confusing