var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Outlook Folders
Could anyone tell me if i'm on the right track.
I need to check a differnt folder than the default inbox
Set Olfolder = Olmapi.GetDefaultFolder(olFolderInbox)
Would i define olFolderInbox first eg olFolderInbox = "Another Folder"
Just so I understand, you want to know every folder in your Outlook ?
Did you want to check all the folders to find a specific email ?
Did you just want to look through a specific folder ?
Ok, heres a way of get the names of every folder in your Outlook.
Note; folder 1 (wspc.folders(1)) is my main outlook, I have access to more than 1 account, you may have to alter this, or you could create another nested loop around this.
Now you have every name of each folder, you can perform other searchs, like every item (email) in every folder..
Hope this helps..If not, let me know more...
Set OLook = CreateObject("Outlook.Application")
Set Wspc = OLook.GetNamespace("MAPI")
' Folder 1 is my inbox, this might differ for yourself
For Second_Folder = 1 To Wspc.folders(1).folders.Count