Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default custom icon in custom commandar

I create a custom commandbar/menu that loads when the workbook opens.
I'd like to add my own icons to the those commands, and not use the
..faceID's that are included in Excel (2003).
Is there a command to add an icon based on a file pointer or something.
Sort of like
With mysubmenuitem
.caption="Item name"
.face = "Point to my Icon here" ?????

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 523
Default custom icon in custom commandar

I use a hidden sheet (sheet 1, say) as follows:

sheet1.shapes("blahblah").copy
with .mysubmenuitem
.caption = "Item Name"
.pasteface
end with

I made 'blahblah' by editing an existing icon in excel, and then copying
that into a cell on sheet 1 and changing its name to blahblah

"Tim Rush" wrote:

I create a custom commandbar/menu that loads when the workbook opens.
I'd like to add my own icons to the those commands, and not use the
.faceID's that are included in Excel (2003).
Is there a command to add an icon based on a file pointer or something.
Sort of like
With mysubmenuitem
.caption="Item name"
.face = "Point to my Icon here" ?????

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default custom icon in custom commandbar

Then I suppose creating a series of 'shapes' on my Personal.xls file would
allow me to use any number of icons throughout all my files by selecting the
sheet in that workbook.
It should work, though a bit of an unusual method.
Thanks!

"Sam Wilson" wrote:

I use a hidden sheet (sheet 1, say) as follows:

sheet1.shapes("blahblah").copy
with .mysubmenuitem
.caption = "Item Name"
.pasteface
end with

I made 'blahblah' by editing an existing icon in excel, and then copying
that into a cell on sheet 1 and changing its name to blahblah

"Tim Rush" wrote:

I create a custom commandbar/menu that loads when the workbook opens.
I'd like to add my own icons to the those commands, and not use the
.faceID's that are included in Excel (2003).
Is there a command to add an icon based on a file pointer or something.
Sort of like
With mysubmenuitem
.caption="Item name"
.face = "Point to my Icon here" ?????

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
custom icon Greg Excel Discussion (Misc queries) 3 October 31st 08 02:16 PM
Custom Icon for an Excel File jpcmaddog Excel Programming 7 May 10th 07 10:46 AM
custom icon buttons FSt1 Excel Programming 3 August 15th 05 10:09 PM
custom icon buttons FSt1 Excel Programming 0 August 15th 05 05:52 PM
custom borders icon to use on the tool bar robin Excel Discussion (Misc queries) 3 February 10th 05 09:01 PM


All times are GMT +1. The time now is 08:26 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"