It's quite involved. You really need to purchase a book
(I had to buy four different ones) on Outlook programming -
I can't tell you how important that is. The following
books are excellent:
1. Microsoft Outlook Programming, by Sue Mosher
2. Building Applications with Microsoft Outlook 2002, by
Randy Byrne
3. Developing Applications using Outlook 2000, CDO,
Exchange and Visual Basic, by Raffaele Piemonte and Scott
Jamison
I'd provide you the code, but that would be giving away
the store as far as these hard-working authors go. Sue
Mosher is pretty gracious and she peruses this site
often. She might feel compelled to start you off in the
right direction... What do you think, Sue?
Bottom line is you need to work with the MAPI and name
space objects to get to the mailbox folders.
As far as the form, you don't need to create it in VBA.
You can create custom forms and use vbscript within them
for button events. Books 1 and 2 above are good
instructional sources in this area.
First you should publish the form to your computer, then
copy the form to the public folders. Then instruct people
to add a shortcut to their outlook bars. Just don't
forget to provide permissions to everyone to use the forms
once they are copied to the public folder. For future
updates, make sure you publish directly to the public
folder instead of copying the form again, or the shortcuts
will not longer work.