How to get outlook email subject into string variable

hi
this is the code
thanks for your help.
when I print it in msgbox to see …it is not showing anything…
I also wanted to do some string oeprations such as substring to it but doesn’t seem to work…
interestingly… mail.subject.contains() works for me though…

1 Like