Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Custom face for custom toolbar item

Escel 2003 has a nice feature for creating & editing custom faces for toolbar
items, but this activity does not register in the macro recorder. Are these
faces saved as icon files? If so, can they be assigned to toolbar items in
code?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,290
Default Custom face for custom toolbar item


All custom faces for toolbar buttons are given the same FaceID of 1.
So no, they are not dumped into a file someplace for easy retrieval.
You can of course save a picture someplace and then figure out a way
to add it to a custom toolbar button. But that doesn't seem to be a
popular discussion item in these newsgroups.
The actual menu/toolbar configuration is saved in a file with an .xlb
extension. It is subject to occasional bloat and corruption.

However, Excel does have a library of toolbar pictures and with each
new version of Excel, adds more to the library. They are numbered from
1 to about 10,000 (currently ). If you see one you like, it can be added to
any toolbar button with the vba command of ...FaceId = 123, or by a simple
manual copy and paste.

There are several utilities (all free) out there that provide some sort of
scrolling display of all the button faces. See a picture you like, copy and paste it.

Send me an email request, with your name and location and I'll send you the
one I developed from an old Microsoft program.
I think it is one of the best.
(parents do tend to favor their children) <g
Remove xxx from my email address.
XX
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware



"Allen_N"
wrote in message
Escel 2003 has a nice feature for creating & editing custom faces for toolbar
items, but this activity does not register in the macro recorder. Are these
faces saved as icon files? If so, can they be assigned to toolbar items in
code?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Custom face for custom toolbar item

Tks Jim, your tools help me to easily choose faceid for the command
toolbar
kr
Pascal

On 29 déc 2006, 02:26, "Jim Cone" wrote:
Allcustomfaces fortoolbarbuttons are given the same FaceID of 1.
So no, they are not dumped into a file someplace for easy retrieval.
You can of course save a picture someplace and then figure out a way
to add it to acustomtoolbarbutton. But that doesn't seem to be a
popular discussionitemin these newsgroups.
The actual menu/toolbarconfiguration is saved in a file with an .xlb
extension. It is subject to occasional bloat and corruption.

However, Excel does have a library oftoolbarpictures and with each
new version of Excel, adds more to the library. They are numbered from
1 to about 10,000 (currently ). If you see one you like, it can be added to
anytoolbarbutton with the vba command of ...FaceId = 123, or by a simple
manual copy and paste.

There are several utilities (all free) out there that provide some sort of
scrolling display of all the button faces. See a picture you like, copy and paste it.

Send me an email request, with your name and location and I'll send you the
one I developed from an old Microsoft program.
I think it is one of the best.
(parents do tend to favor their children) <g
Remove xxx from my email address.

--
Jim Cone
San Francisco, USAhttp://www.realezsites.com/bus/primitivesoftware

"Allen_N"
wrote in message
Escel 2003 has a nice feature for creating & editingcustomfaces fortoolbar
items, but this activity does not register in the macro recorder. Are these
faces saved as icon files? If so, can they be assigned totoolbaritems in
code?


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 toolbar item to use hyperlink to open word file Sally M Excel Discussion (Misc queries) 2 April 26th 07 07:58 PM
VBA - Disappearing custom menu and custom toolbar Peter[_50_] Excel Programming 2 December 2nd 04 06:09 PM
Custom face on a button without clipboard? Nigel Excel Programming 3 October 15th 04 01:01 PM
Add-in with custom Face R Avery Excel Programming 2 March 5th 04 03:34 PM
custom toolbar buttons are saved where? Excel loads twice bymistake and all my custom toolbar buttons get gone!!! Kevin Waite Excel Programming 2 March 3rd 04 03:31 PM


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