Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default creating a commandbarbutton with a custom bitmap

You need to get the bitmap in the clipboard and then use the pasteface
method to paste it on your button.

You could store the bitmaps on a hidden worksheet and copy them to the
clipboard.

In Excel 2002, I believe they have added a picture property to the buttons
and you can use the loadpicture function like for msforms controls.

Regards,
Tom Ogilvy




"Kris Van Baelen" wrote in message
...
Hi,

We want to programmatically create a commandbarbutton on a
new commandbar with a custom bitmap. We managed to create
commandbarbuttons with built-in images, but cannot find
out how to deal with custom bitmaps. Is there a way to do
this in Office2000?

TIA,

Kris



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating Custom Buttons bauman78 Excel Discussion (Misc queries) 3 August 26th 09 04:23 AM
Creating a custom formula axr0284 Excel Worksheet Functions 8 February 11th 08 12:25 PM
Creating a Custom Form Shelia Excel Discussion (Misc queries) 1 December 7th 06 11:29 PM
Creating custom charts Taebaek Charts and Charting in Excel 1 November 27th 06 10:10 PM
Creating an custom input box [email protected] Excel Worksheet Functions 1 March 17th 05 03:45 AM


All times are GMT +1. The time now is 07:43 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"