Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
bitmap for buttons
thanks to harold staff for his suggestion, but I need
some lines to put into the macro (which makes the toolbar and assigns the button), which will set the face as "H:\buttons\Macro1.bmp" for example automatically without having to go into the face editor in the customise menu. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
bitmap for buttons
It's right there in the sample file "CommandBars with custom icons"
' insert an icon from a file If CopyPictureFromFile(shtCustomIcons, ThisWorkbook.Path & "\donotpark.bmp") Then .PasteFace ' paste the custom icon End If -- HTH. Best wishes Harald Followup to newsgroup only please "Sarah Davies" skrev i melding ... thanks to harold staff for his suggestion, but I need some lines to put into the macro (which makes the toolbar and assigns the button), which will set the face as "H:\buttons\Macro1.bmp" for example automatically without having to go into the face editor in the customise menu. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel copies as a bitmap | Excel Discussion (Misc queries) | |||
Bitmap | Excel Discussion (Misc queries) | |||
background bitmap washouts | Excel Discussion (Misc queries) | |||
bitmap for buttons | Excel Programming | |||
Thanks - creating a commandbarbutton with a custom bitmap | Excel Programming |