Copying folder design using VBA

  • Thread starter Thread starter mark roberts
  • Start date Start date
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.
 
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
 
Back
Top