View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Art[_4_] Art[_4_] is offline
external usenet poster
 
Posts: 11
Default XLM Macros: Problems With Custom Toolbar Buttons

I have created a custom toolbar (via ADD.TOOLBAR) with a mix of both
standard Excel buttons plus a couple of custom buttons with:

1) custom macro function support
2) tooltip legend
3) custom icon face

The custom tools are assigned in the range of 201-231.

Everything works as advertised except the custom icons never appear -
the default always appears. I have tried adding via a pasted picture
(Picture nn) as well as a drawing (Rectangle nn) via the Excel drawing
toolbar with no success. Size of the icon had no effect (down to 16x16).

Invoking a query via GET.TOOL type-num=6 (face logical value) for the
tool indicates there is a bitmap for the tool (TRUE). Others tools
without the custom icon assignments show FALSE as expected.

Tested on Mac Excel/X, Mac Excel/2004, Windows Excel/2000

Has anyone had success getting this capability to work ?

TIA.
--
Art