Customized swatch button

  • Thread starter Thread starter vvskpk
  • Start date Start date
V

vvskpk

Hi there,

I'm trying for a toolbar with which I can create my own color swatches
instead of entering values each and everytime as default palette gets
overwritten with new value. I have about 20 colors to use in each file.

Now, I can create a macro for each color. But I want that macro to appear as
a button with the same color swatch so that I can recognize the swatch. I'm
ok till create a toolbar with faceID explorer. But unable to get my color
swatch as a button to appear permanently as a regular faceid. I can copy the
color and paste it to appear as a button but it gets erased when I reopen the
powerpoint or deply to another system. The toolbar shows blank. I also cannot
give customized color to the faceid buttons. It has only a few colors to fill
the box. I also want to deply this color swatches to my friends to make their
life easier. Here is my example macro for filling the color.

With ActiveWindow.Selection.ShapeRange
.Fill.Visible = msoTrue
.Fill.ForeColor.RGB = RGB(184,167,247)
.Fill.Solid
End With
ActivePresentation.ExtraColors.Add RGB(Red:=184, Green:=167, Blue:=247)
ActiveWindow.Selection.ShapeRange.Line.Visible = msoFalse
ActiveWindow.Selection.Unselect

Simply put, I need a button with the above defined color swatch permanently
likewise regular faceid to recognize each swatch.

Hope someone can solve my problem!
 
Hi Steve

Thanks for the details. I have already gone through the creation of addins
toolbars. I need a color swatch of my values instead of predefined faceids,
which appears permanentely in the toolbar even after reopening the
powerpoint. Any ideas how can do that? Or any code to place colored bmps in a
location and linking/calling them using picture or similar command??

-------------
 
Back
Top