Adding color swatch to the custom toolbar

  • Thread starter Thread starter Prasant
  • Start date Start date
P

Prasant

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
 
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.

___________________
 
Back
Top