Inputting a web scraped number to control a if statement

Hello all,

I’m having issues with inputting a web scraped number to control a if statement. Please see my figure

I’m trying to get info from webpage listing and if a scraped number is greater than or equal to a number than click on title hyperlink. My specific issue is within the if condition.

ive attached message box

ive attached excel output

Have you tested with .ToString instead of just .String?

Cint(row("Column3/beds").ToString.Split(" ")(0)) = 1

Yes. Still gives an error : Strict on disallows implicit conversions from “String” to “Char”

Test with " "c or " ".ToCharArray instead:

Cint(row("Column3/beds").ToString.Split(" "c)(0)) = 1