Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Toolbar + import image

Hello,

I created a toolbar using vba but know I need to import via vba 3 icons I
made for my toolbar. How can I do that ?

Thanks in advance.

Nader

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 44
Default Toolbar + import image

i found the solution ... i have to use stdole ...

an example :

Dim picPicture As IPictureDisp
Set picPicture = stdole.StdFunctiond.LoadPicture("c:\icon_example.b mp")

.... some more code ...

With newItem
.Caption = "..."
.OnAction = "runMenu"
.Picture = picPicture
.Style = 3
End With



"Nader" wrote in message
...
Hello,

I created a toolbar using vba but know I need to import via vba 3 icons I
made for my toolbar. How can I do that ?

Thanks in advance.

Nader


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
Toolbar Button Image Question [email protected] Excel Worksheet Functions 1 August 30th 06 09:13 PM
How do I create a custom image for a toolbar? [email protected] Excel Programming 2 July 7th 06 11:05 PM
Image Click Invokes Picture Toolbar Sunbank Excel Programming 0 January 16th 06 03:14 AM
Control Toolbar Image Resizes on Print Matt Jensen[_2_] Excel Programming 0 January 14th 05 04:05 PM
Extract image from toolbar button jamieuk Excel Programming 1 January 16th 04 03:23 PM


All times are GMT +1. The time now is 03:00 AM.

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

About Us

"It's about Microsoft Excel"