"GoExcel.FindRow" not returning error when the values are not matching the excel values

"GoExcel.FindRow" not returning error when the values are not matching the excel values

hamzabuttX6GV8
Contributor Contributor
260 Views
2 Replies
Message 1 of 3

"GoExcel.FindRow" not returning error when the values are not matching the excel values

hamzabuttX6GV8
Contributor
Contributor

Hi,

 

I use an excel file to pass model parameters. I use the following command to get the exact row:

GoExcel.FindRow("TEST.xlsx", "Sheet1", "BORE", "=", BORE, "FLANGE_OD", "=", FLANGE_DIA, "COOLING_DISK", "=", COOLING_DISK)

 The problem is that when I enter the wrong value of "BORE", it surprisingly doesn't return an error and continues to generate the model. The "BORE" value that I enter is not present in the excel sheet so how does it know which row to go to.

0 Likes
Accepted solutions (1)
261 Views
2 Replies
Replies (2)
Message 2 of 3

tyler.warner
Advocate
Advocate
Accepted solution

You can find a related post where @WCrihfield shows some checking for a similar situation here.

 

If this solved your problem or answered your question, please click ACCEPT SOLUTION.
If this helped you, please click LIKE.
0 Likes
Message 3 of 3

hamzabuttX6GV8
Contributor
Contributor

Thank you! This helped me figure it out.

0 Likes