ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   How to add images to custom toolbar buttons? (https://www.excelbanter.com/excel-programming/281211-how-add-images-custom-toolbar-buttons.html)

RADO[_3_]

How to add images to custom toolbar buttons?
 
Is there a way to add button images to a custom toolbar created
programmatically?

Thanks -
RADO



Tom Ogilvy

How to add images to custom toolbar buttons?
 
You have to get the image in the clipboard, so you would copy it from the
worksheet, then use pasteface to get it on the button.

--
Regards,
Tom Ogilvy

RADO wrote in message
...
Is there a way to add button images to a custom toolbar created
programmatically?

Thanks -
RADO





RADO[_3_]

How to add images to custom toolbar buttons?
 
Tom - thanks a lot, it works!
the only issue is that the copied image becomes blurry for some reason and
looks bad on the button. Do you know what might be a problem?

RADO


"Tom Ogilvy" wrote in message
...
You have to get the image in the clipboard, so you would copy it from the
worksheet, then use pasteface to get it on the button.

--
Regards,
Tom Ogilvy

RADO wrote in message
...
Is there a way to add button images to a custom toolbar created
programmatically?

Thanks -
RADO







Tom Ogilvy

How to add images to custom toolbar buttons?
 
I haven't experienced that. But I would suspect a lot has to do with the
original image. Perhaps you can try a different format or a different size
by working with it in an image editor.

--
Regards,
Tom Ogilvy

RADO wrote in message
...
Tom - thanks a lot, it works!
the only issue is that the copied image becomes blurry for some reason and
looks bad on the button. Do you know what might be a problem?

RADO


"Tom Ogilvy" wrote in message
...
You have to get the image in the clipboard, so you would copy it from

the
worksheet, then use pasteface to get it on the button.

--
Regards,
Tom Ogilvy

RADO wrote in message
...
Is there a way to add button images to a custom toolbar created
programmatically?

Thanks -
RADO










All times are GMT +1. The time now is 03:05 PM.

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