You can get a reference to your custom button by name, depending on which
command bar you've stored it on:
Dim objStandardBar As Office.CommandBar
Dim objMyButton As Office.CommandBarButton
Set objStandardBar = ActiveExplorer.CommandBars("Standard")
Set objMyButton = objStandardBar.Controls("MyButton")
objMyButton.Caption = "My New Caption"
Custom toolbar data is stored in the "C:\Documents and
Settings\[USERNAME]\Application Data\Microsoft\Outlook\outcmd.dat" file. The
best way to preserve this and other data is to run the Office Save My
Settings Wizard (in the Microsoft Office Tools program group).

Signature
Eric Legault - B.A, MCP, MCSD, Outlook MVP
--------------------------------------------------
{Private e-mails ignored}
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/
> Outlook 2002 on Home XP sp2
>
[quoted text clipped - 17 lines]
> thanks
> rj
rj - 29 Apr 2005 03:50 GMT
Thats perfect, thanks! I didn't realize I had to use the ActiveExplorer
Object for Outlook. Thanks for the outcmd.dat and Save My Settings info.
Thanks
rj
> You can get a reference to your custom button by name, depending on which
> command bar you've stored it on: