VBA code to Forward emails from outlook

Jul 7, 2009
Reaction score
I have the following simple problem (for somebody masterising VBA/Outlook):

I have defined as global the following variable:
Public WithEvents myAxesItems As Outlook.Items

Then I assign the folder I am working with, it is a folder in my inbox called "AXES" :
Set myAxesItems = Outlook.Session.GetDefaultFolder(olFolderInbox).Folders("AXES").Items

My simple question is: what is the syntax to define a folder called "STRAT" in a folder "VIEWS" in my personal folder (basically, "personal folder/VIEWS/AXES " ) and not in the inbox? :confused:
I tried something like Outlook.Session.GetDefaultFolder("VIEWS").Folders("AXES").Items
but does not work...

Thanks to all !!!

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question