How we use variable as not equal to some numbers in if condition

hello all …here I want that i have one variable which is double data type… want to comapre this variable in if condition like is
var is not equal to “99999”
then flow will excute

Hi,

Can you try the following expression as condition?

VB:

yourVariable <> 99999

C#:

yourVariable != 99999

Regards,

1 Like

hI @Bhargavi_Lokapur

you can also use this expression

Not variable.tostring.contains(“99999”)

or
Not Variable.Tostring = “99999”

Regards
Gokul

how to go for particular sheet in excel using uipath

HI,

Do you want to go to particular sheet OR Read/Write data from the sheet?
If latter, we can achieve it to use ReadRange, ReadCell ,Write Range or WriteCell etc with SheetName property.

Regards,

Hi @Bhargavi_Lokapur

Use Get workbook Sheets activity
Store it in a variable

https://docs.uipath.com/activities/docs/excel-get-workbook-sheet

Use for each → Pass the get workbook sheets variable

Use if condition
Item.contains(“Your sheetname”)

Regards
Gokul