View Single Post
  #8  
Old September 12th 07, 03:13 PM posted to microsoft.public.outlook.program_vba
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,885
Default VBA for creating Category toolbar in Outlook 2003



As we offered in different newsgroups already, we can help you to write the
code yourself. But believe me, if that's done you'd wish to have spent the
few bucks instead.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:
http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Wed, 12 Sep 2007 05:08:03 -0700 schrieb Melody:

Thanks Michael,

I didn't want to spend any money on this and probably couldn't use it

anyway
as this is a work pc. Seems like this is something that should just be a
part of Outlook anyway. Oh well. Thanks all for your help.

"Michael Bauer [MVP - Outlook]" wrote:



Eric, don't forget the much more powerful Category Manager


http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Organize eMails:

http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6

Am Tue, 11 Sep 2007 10:38:06 -0700 schrieb Eric Legault [MVP - Outlook]:

If you can use Categories in Outlook, you should be able to access them

in
code. Look in regedit for this key:



HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\O utlook\Categories\MasterList

There is some sample code here that shows how you can retrieve this

list:

http://www.cdolive.com/cdo5p2.htm
(See "Read the master categories list of a user" section)

An alternative is to use the Win32API to access the registry, or just

Google
for "Visual Basic Registry Class" and you'll find some code that you can
reuse to work with the registry.

There's also some samples here on creating custom command bars and

menus:

TIP: Fun with Outlook CommandBars:
http://www.outlookcode.com/d/tips/commandbarfun.htm

Or if you feel like doing some shopping, this add-in might work for you:

CategorieZ - Organize your categories the quick and easy way - about:
http://www.software-solutions.co.nz/.../alcoabout.asp

Let me know if you have any questions.


Ads