Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Add Icon to Toolbar

I am having troubling finding how to add an icon to my
custom toolbar button.

Set NewSheetCBC = Toolbar.Controls.Add
(Type:=msoControlButton)
With NewSheetCBC
.Caption = "New Sheet"
.State = msoButtonUp
.Style = msoButtonIconAndWrapCaptionBelow
'.Icon = THIS IS WHERE I AM NOT SURE WHAT TO ADD

.TooltipText = "Create a new overtime sheet/new
overtime week."
End With


Can anyone tell me a. is there a set of avilable icons to
pull from, b. where to find it, c. how to write the line
of code?

Thanks

SS
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Add Icon to Toolbar

SS,

Try .FaceID

There are utilities out there for displaying a list of predefined icons.
Do a search for "faceid browser"

Rob


"SS" wrote in message
...
I am having troubling finding how to add an icon to my
custom toolbar button.

Set NewSheetCBC = Toolbar.Controls.Add
(Type:=msoControlButton)
With NewSheetCBC
.Caption = "New Sheet"
.State = msoButtonUp
.Style = msoButtonIconAndWrapCaptionBelow
'.Icon = THIS IS WHERE I AM NOT SURE WHAT TO ADD

.TooltipText = "Create a new overtime sheet/new
overtime week."
End With


Can anyone tell me a. is there a set of avilable icons to
pull from, b. where to find it, c. how to write the line
of code?

Thanks

SS



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
Drawing toolbar Icon Irv Excel Worksheet Functions 3 April 21st 07 01:18 AM
Disappearing toolbar icon Slam Excel Discussion (Misc queries) 0 July 6th 06 02:54 PM
toolbar icon description Michael Abraham New Users to Excel 1 February 19th 06 03:18 PM
Odd toolbar icon behaviour Bernard Liengme Excel Discussion (Misc queries) 0 February 22nd 05 09:28 PM
icon in menu toolbar roland Excel Programming 1 November 20th 03 01:29 PM


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

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"