Posts by Dabrorius

    Welcome to the Forum. Please read the Forum Rules to understand how the Forum works. I have added Code Tags for you this time.

    Is this code for Excel or OutLook?

    Hy, thank you for the answer, it will be my pleasure to read forum rules.. this code would be activated in excel so I would need it there. So this code is for excel. Thank you!

    Hello everybody,

    Im new to VBA so I have trouble creating a correct code. I hope to make VBA macro wich would search for latest mail with specific subject and than would open it. The mail is maybe in inbox but it could also be in one of the inbox folders or subfolders. I've managed to create code with pickfolder option and it works but I would like to avoid pickfolder all together. Many thanks for any help given..

    Here is my code so far: