Yes please. If it can be done in any way, I just want to try it so that I can
create my custom swatch toolbar avoiding to enter the values, as my palette
has many colors than to fit in the default palette.
I'm eagerly waiting for your response with the solution.
Thanks a ton.
___________________
"Steve Rindsberg" wrote:
> The script you've quoted will add colors to the recently used colors section of
> the fill popup ... it won't add colors to a custom toolbar.
>
> There are ways of adding colored buttons to a custom toolbar, but if they're on
> a custom toolbar, clicking them won't perform any function unless you write
> code to do it (ie, fill the currently selected shape or shapes).
>
> Do you want to go to that length?
>
>
>
> In article <FBB9323A-D6D2-4934-BD57-(E-Mail Removed)>, Prasant wrote:
> > Hi Experts,
> > I want to create a toolbar with custom swatches. I created but I want to add
> > that particular swatch to the toolbar instead of macro name. I tried editing
> > the macro buttoon but the toolbar is not getting saved. May be I don't know
> > how to save the edited button toolbar. Can anyone tell the procedure to save
> > the edited toolbar? Or the procedure to add the color swatch image to the
> > created toolbar? Here is my script to create the custom swatch.
> > Sub Sec1_75()
> > With ActiveWindow.Selection.ShapeRange
> > .Fill.Visible = msoTrue
> > .Fill.ForeColor.RGB = RGB(64, 102, 178)
> > .Fill.Solid
> > End With
> > ActivePresentation.ExtraColors.Add RGB(Red:=64, Green:=102, Blue:=178)
> > ActiveWindow.Selection.ShapeRange.Line.Visible = msoFalse
> > End Sub
> >
> > Many Thanks in advance for the suggestions.
> > ______________
> > Regards
> >
>
> -----------------------------------------
> Steve Rindsberg, PPT MVP
> PPT FAQ: www.pptfaq.com
> PPTools: www.pptools.com
> ================================================
>
>
>