ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   XLM Macros: Problems With Custom Toolbar Buttons (https://www.excelbanter.com/excel-programming/425843-xlm-macros-problems-custom-toolbar-buttons.html)

Art[_4_]

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


All times are GMT +1. The time now is 12:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com