Copying folder design using VBA

M

mark roberts

Does anyone know how I can copy the folder design (i.e.
folder permissions) to a another folder by using VBA.

Also Do you know how to select multiply folders that
contain mail items and apply a change rather than
selecting a single folder at a time.
 
S

Sue Mosher [MVP-Outlook]

Does anyone know how I can copy the folder design (i.e.
folder permissions) to a another folder by using VBA.

You can get and set folder permissions with the ACL.dll COM component and
CDO 1.21. See http://www.outlookcode.com/d/exstech.htm . You'd also have to
add fields, add custom views (possible only in Outlook 2002 or later),
publish custom forms (you can iterate them with CDO), etc. It might be
easier just to start with a blank folder that has all the settings you want
and copy the entire folder.
Also Do you know how to select multiply folders that
contain mail items and apply a change rather than
selecting a single folder at a time.

You'd have to provide your own mechanism for selecting the folders -- maybe
a multi-select tree view. No such thing is built into outlook.

FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba
 

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

Top