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