Adding color swatch to the custom toolbar

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
 
P

Prasant

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.

___________________
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top