vba - Creating folders in Outlook 2010 -
i have folder containing many subfolders on desktop need recreate in outlook 2010. folders empty , have template. there 400 folders trying avoid manually creating every 1 of them in outlook.
the issue have these folders aren't being put under inbox, going created under common mailbox accessible coworkers. using archiving purposes. of codes have found creating folders under inbox.
how go recreating directory under public mailbox? have little experience in vba programming. have folder names in excel if makes easier accomplish this.
thanks in advance help.
well, i'd suggest starting getting started vba in outlook 2010 article in msdn learn basics. outlook object model there no difference folder located. add method of folders class creates new folder in folders collection.
you may use stores property of namespace class returns stores collection object represents store objects in current profile. getshareddefaultfolder method of namespace class returns folder object represents specified default folder specified user.
Comments
Post a Comment