Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / November 2006

Tip: Looking for answers? Try searching our database.

Custom Icons in Toolbar or menu

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jack_Feeman - 13 Nov 2006 17:49 GMT
Anyone know an easy way to get a custom icon (.ico file) into a custom
toolbar or menu? I have made several custom icons for macro buttons in a
custom toolbar. Unfortunately you cannot cut/copy and paste or otherwise copy
the .ico image into the menu/toolbar item. I do not know how to build one in
VBA.

Thanks
Jack
Andrew V - 13 Nov 2006 23:04 GMT
I tried copy paste of .ICO file contents from MS Paint ir IrfanView, but the
results weren't the greatest.  You could draw the icons in Word by editing
toolbar icons, which is what I do.  Alternatively you could check out this
page, which shows VBA sample code for using a picture file to create an icon
for a button, among other useful tidbits:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnofftalk/html/
office05022002.asp


Andrew

> Anyone know an easy way to get a custom icon (.ico file) into a custom
> toolbar or menu? I have made several custom icons for macro buttons in a
[quoted text clipped - 4 lines]
> Thanks
> Jack
Jack_Feeman - 14 Nov 2006 01:05 GMT
Thanks,
Yeah I have tried the edit thing in Word many times in the past. Good for
simple icons, not enough grid to hand draw more complex icons. I know there
is an involved way to add one in VBA but don't remember it. I will try your
alteravive.

Thanks

> I tried copy paste of .ICO file contents from MS Paint ir IrfanView, but the
> results weren't the greatest.  You could draw the icons in Word by editing
[quoted text clipped - 14 lines]
> > Thanks
> > Jack
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.