VBA for creating Category toolbar in Outlook 2003

MS OFFICE OUTLOOK

    Next

  • 1. how to transfer emails
    How Do I transfer my emails (in tact) from one computer to the other
  • 2. getfolder
    hi, I am writing a simple macro to look up some items in a folder : Sub check_items() Dim nSpace As NameSpace Dim objFolder As MAPIFolder Dim objMail As MailItem Set nSpace = Application.GetNamespace("MAPI") Set objFolder = nSpace.Folders("myemails") '..... more code here End Sub nSpace.Folders fails with : an object can not be found any help is appreciated thanks Michael
  • 3. Outlook 2003 - Server 2000 access rights
    Outlook 2003 will not return a .pst file to the network after it's been closed so that a different application can open it. Is there a way to use VBA to insure that a .pst file has been returned to the network after you close it? Do you think I could create maybe a different close procedure that I could use when I need to backup a .pst file? I don't know what could be catching so that the file won't be flagged as in-use by outlook 2003.
  • 4. Tools>Macros>Security Unable to run Macros Security or Visual Basi
    For some reason all of thease have stop working RUN MACRO, SECURITY, VB EDITOR In outlook 2003, Thease thing all run run fine in word. I have uninstaled office and reinstalled and have All of the lastes Pacthes I am runing office 2003 Pro
  • 5. Creating Outlook 2003 type PST FIle
    I am trying to create a 2003 type PST file (With the increased file size over the earlier type of PST files). I have outlined the steps I have done so far and the problems I have encountered. From the MAPISVC.inf file which is found on all client machines, Here are the services available for PST files [Services] MSPST MS=Outlook 97-2002 Personal Folders File (.pst) MSUPST MS=Office Outlook Personal Folders File (.pst) I tried using the IMsgServiceAdmin::CreateMsgService method passing it SUPST MS(Office Outlook Personal Folders File (.pst))which is for the new type of PST file but after this service is added to the present profile I still end up with a older PST file. Any Suggestions.

VBA for creating Category toolbar in Outlook 2003

Postby TWVsb2R5 » Wed, 12 Sep 2007 21:02:08 GMT

Hi,

I know very little about VBA and how to make it work in Outlook.  Is there 
someone who can write what I need to create a category toolbar in Outlook and 
then tell me how to implement it?

Thanks.

RE: VBA for creating Category toolbar in Outlook 2003

Postby RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ » Thu, 13 Sep 2007 01:42:03 GMT

Hi Melody.  This isn't something that I can quickly write for you, but it is 
possible with a little effort.  If you are interested in learning how to 
write this I'm here to help.  You'd need more than Outlook VBA knowledge 
though.  Customizing command bars and menus uses the Office Object Model.  
Furthermore, Categories are stored in the registry and requires a little more 
advanced knowledge on how to retrieve that information.

-- 
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook: 
 http://www.**--****.com/ 
Blog:  http://www.**--****.com/ 






RE: VBA for creating Category toolbar in Outlook 2003

Postby TWVsb2R5 » Thu, 13 Sep 2007 01:58:02 GMT

Hi Eric,

Thanks for responding.  Seems like such a simple request shouldn't be so 
difficult to accomplish.  I'm pretty software/computer savvy so I think I 
could follow your direction.  The only problem is that this is on my work 
computer and I think they've "locked down" the registry so I can't even look 
at it.  Unless there's another way to see other than regedit.






RE: VBA for creating Category toolbar in Outlook 2003

Postby RXJpYyBMZWdhdWx0IFtNVlAgLSBPdXRsb29rXQ » Thu, 13 Sep 2007 02:38:06 GMT

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\Outlook\Categories\MasterList

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

 http://www.**--****.com/ 
(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.**--****.com/ 

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.**--****.com/ 

Let me know if you have any questions.

-- 
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook: 
 http://www.**--****.com/ 
Blog:  http://www.**--****.com/ 








RE: VBA for creating Category toolbar in Outlook 2003

Postby TWVsb2R5 » Thu, 13 Sep 2007 04:14:03 GMT

Thanks again.  I'll look into some of these.  Not sure how much I can do as 
this is a work pc.  I tried regedit to access the registry and I get an 
access denied type error message.  I'll see what I can do anyway.  Thanks for 
the help.








Re: VBA for creating Category toolbar in Outlook 2003

Postby Michael Bauer [MVP - Outlook] » Thu, 13 Sep 2007 13:51:14 GMT


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

< http://www.**--****.com/ ;

-- 
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
  Organize eMails:
  < http://www.**--****.com/ ;

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

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Categories\MasterList
Google 

Re: VBA for creating Category toolbar in Outlook 2003

Postby TWVsb2R5 » Thu, 13 Sep 2007 21:08:03 GMT

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.





Re: VBA for creating Category toolbar in Outlook 2003

Postby Michael Bauer [MVP - Outlook] » Thu, 13 Sep 2007 23:13:54 GMT


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.**--****.com/ ;

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

anyway 

< http://www.**--****.com/ ;
< http://www.**--****.com/ ;
in 
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Categories\MasterList
list:
menus:

Similar Threads:

1.how to create toolbar icon from vba

I'm writting a small macro-project that would be usefull for all
members off my working group. I've already found that if I put dot-file
in /Program_Files/Microsoft_Office/office10/startup directory all users
on this computer can see it in /Tools/Macros-Menu.
What I'd like to do is to create a non-standard toolbar with
own-creation icons in it. I couldn't find anything usefull on the web.
Has somebody any idea how to create such custom icon?

regards
Kris

p.s.
btw where does Word save all info about custom edited icon (like these
via right click on toolbar and "edit button image")

2.Outlook 2003, create new "Show time as:" categories?

For both Appointments and Meeting Requests, is there a way to create new 
categories than the default FREE, TENTATIVE, BUSY and OUT OF OFFICE?

3.How to create outlook 2003 profile in VBA

I am doing a project migrate an Access 1997 application to Access 2003.
We use Citrix to publish the application.

There is one command Cmd.SendObject (....) to send out emails via
Outlook. In Access 1997, when users fist encounters this command, an
outlook profile creation window will be pop out for users to create
their email profile, ( users need to input exchange server name, user
name...). But when we run the same command in Access2003, no profile
creation window pops out. There is an error mssage 'No profiles have
been created. To create a new profile, use the Mail icon in the Control
Panel.'

In our plan, we don't publish Desktop and Outlook for each users. Then
users will have to call support to create profile for the first time
they want to use this application. There is a lot of support work
overhead.

Is there some code in VBA that I can put in Access2003 that I can lauch
Outlook Profile Creation if the system senses that the user has no
profile in place?

Thanks in advance.

JinJin

4.Creating Categories in Outlook 2003

I group my tasks into categories that I create in Outlook 2003.  Does anyone 
know if there is a way to create sub-categories, much in the same way that we 
can create sub-folders in Windows Explorer?  Thanks in advanced!

5.create outlook task on reviewing toolbar in Word 2003

I used to hit a button the Word reviewing toolbar that would create a 
Microsoft Outlook task.  I see that this button is available on the reviewing 
toolbar in Excel 2003.  I cannot find this button anywhere on the revewing 
toolbar in Word 2003.  What happened to it?  Why would Microsoft remove that 
button from Word but not from Excel?

6. create a Toolbar button for Calendar in Outlook 2003

7. VBA changing background on a new slide created by VBA

8. Howto Create VBA COM Addin for Excel 2003



Return to MS OFFICE OUTLOOK

 

Who is online

Users browsing this forum: No registered users and 65 guest