Thank you, Bob. Works perfect! James
On Mar 31, 7:45�pm, "Bob Phillips" <bob....@somewhere.com> wrote:
> Correction.
>
> * * With Application.CommandBars("Worksheet Menu Bar")
> * * * * With .Controls.Add(Type:=msoControlButton, temporary:=True)
> * * * * * * .Caption = "some text"
> * * * * * * .Style = msoButtonCaption
> * * * * End With
> * * End With
>
> --
> HTH
>
> Bob
>
> (there's no email, no snail mail, but somewhere should be gmail in my addy)
>
> "Bob Phillips" <bob....@somewhere.com> wrote in message
>
> news:ej1Hv1%(E-Mail Removed)...
>
>
>
>
>
> > * *with application.commandbars("Worksheet Menu Bar")
> > * * * *with .controls.add(name:="myButton",temporary:=True)
> > * * * * * *.caption = "some text
> > * * * *end with
> > * *end with
>
> > --
> > ---
> > HTH
>
> > Bob
>
> > (there's no email, no snail mail, but somewhere should be gmail in my
> > addy)
>
> > "Zone" <jkend69...@aol.com> wrote in message
> >news:(E-Mail Removed)...
> >>I want to add a control to Excel's standard menubar to show some
> >> text. *The control will not do anything other than show its text.
> >> TIA, James- Hide quoted text -
>
> - Show quoted text -
|