FIlter outlook emails by variable

Hello friends,
I need to filter some emails based on a number stored in a variable.
For example I have the number 05009022788169 taken from an Excel file and stored in a variable called “Numero POlizza”.
How can I pass it in the Filter ?

In this way it doesn’t work,
thank you so much.
Camilla :slight_smile:

Hi @CamiCat,

In that before [subject] remove the double quotes and add it again.

Regards, Arivu :slight_smile:

1 Like

Hello @CamiCat

Try this- “[Subject]=’”+variable1.ToString+"’"

1 Like

Thank you so much @Priya_Dubey
I tried in your way but it gives me this result.

Can you please help me a little bit more?
Thank you so much for your kind help,
Camilla :slight_smile:

I removed the double quotes and added them again and now it works.

Thank you so much @Priya_Dubey
Camilla :blush::blush:

Thank you so much @arivu96 for your precious advice.
Camilla :slight_smile: