Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I add Icon to Toolbar?


I have a finished-working macro that I want to make it easier to get to.
I would like to create an icon in a toolbar to access the userform with
this macro. Any hints in this one?


--
Adam.Effinger
------------------------------------------------------------------------
Adam.Effinger's Profile: http://www.thecodecage.com/forumz/member.php?userid=594
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=130835

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default How do I add Icon to Toolbar?

Chip Pearson covers this - as do many others of course, all good ;)

http://www.cpearson.com/excel/menus.htm



"Adam.Effinger" wrote:


I have a finished-working macro that I want to make it easier to get to.
I would like to create an icon in a toolbar to access the userform with
this macro. Any hints in this one?


--
Adam.Effinger
------------------------------------------------------------------------
Adam.Effinger's Profile: http://www.thecodecage.com/forumz/member.php?userid=594
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=130835


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default How do I add Icon to Toolbar?

Right click a blank area on the Toolbar, select Custom from the popup menu
that appears, select the Commands tab on the dialog box that appeared,
scroll down to the Macros entry in the Categories list, select the Custom
Button item in the Commands list and then click drag it onto the Toolbar.
After you release the mouse button, there will be a new icon on the Toolbar;
next, click the Modify Selection button that is on the dialog box and select
Assign Macro from the popup menu and complete the selection on the next
dialog box to appear. Then click the Modify Selection button again and
select Change Button Image if you want to use a different icon symbol for
your button. You can also play with some of the other items on the popup
menu from the Modify Selection button.

--
Rick (MVP - Excel)


"Adam.Effinger" wrote in message
...

I have a finished-working macro that I want to make it easier to get to.
I would like to create an icon in a toolbar to access the userform with
this macro. Any hints in this one?


--
Adam.Effinger
------------------------------------------------------------------------
Adam.Effinger's Profile:
http://www.thecodecage.com/forumz/member.php?userid=594
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=130835


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I add Icon to Toolbar?


The solutions that you two have the same problem. They don't say
anything about a userform (which I use). I couldn't find anything to
solve that.



Rick Rothstein;473774 Wrote:
Right click a blank area on the Toolbar, select Custom from the popup
menu
that appears, select the Commands tab on the dialog box that appeared,
scroll down to the Macros entry in the Categories list, select the
Custom
Button item in the Commands list and then click drag it onto the
Toolbar.
After you release the mouse button, there will be a new icon on the
Toolbar;
next, click the Modify Selection button that is on the dialog box and
select
Assign Macro from the popup menu and complete the selection on the
next
dialog box to appear. Then click the Modify Selection button again and
select Change Button Image if you want to use a different icon symbol
for
your button. You can also play with some of the other items on the
popup
menu from the Modify Selection button.

--
Rick (MVP - Excel)


"Adam.Effinger" wrote in
message
...

I have a finished-working macro that I want to make it easier to get

to.
I would like to create an icon in a toolbar to access the userform

with
this macro. Any hints in this one?


--
Adam.Effinger

------------------------------------------------------------------------
Adam.Effinger's Profile:
'The Code Cage Forums - View Profile: Adam.Effinger'

(http://www.thecodecage.com/forumz/member.php?userid=594)
View this thread:
'How do I add Icon to Toolbar? - The Code Cage Forums'

(http://www.thecodecage.com/forumz/sh...d.php?t=130835)



--
Adam.Effinger
------------------------------------------------------------------------
Adam.Effinger's Profile: http://www.thecodecage.com/forumz/member.php?userid=594
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=130835

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,934
Default How do I add Icon to Toolbar?

What did you mean when you said "access the userform with this macro" in
your original posting? I figured you were already showing the UserForm from
that macro. If not, why not? The line you would need to add to your macro
(presuming it is not already there) is this...

UserForm1.Show

where I am assuming your UserForm is named UserForm1.

--
Rick (MVP - Excel)


"Adam.Effinger" wrote in message
...

The solutions that you two have the same problem. They don't say
anything about a userform (which I use). I couldn't find anything to
solve that.



Rick Rothstein;473774 Wrote:
Right click a blank area on the Toolbar, select Custom from the popup
menu
that appears, select the Commands tab on the dialog box that appeared,
scroll down to the Macros entry in the Categories list, select the
Custom
Button item in the Commands list and then click drag it onto the
Toolbar.
After you release the mouse button, there will be a new icon on the
Toolbar;
next, click the Modify Selection button that is on the dialog box and
select
Assign Macro from the popup menu and complete the selection on the
next
dialog box to appear. Then click the Modify Selection button again and
select Change Button Image if you want to use a different icon symbol
for
your button. You can also play with some of the other items on the
popup
menu from the Modify Selection button.

--
Rick (MVP - Excel)


"Adam.Effinger" wrote in
message
...

I have a finished-working macro that I want to make it easier to get

to.
I would like to create an icon in a toolbar to access the userform

with
this macro. Any hints in this one?


--
Adam.Effinger

------------------------------------------------------------------------
Adam.Effinger's Profile:
'The Code Cage Forums - View Profile: Adam.Effinger'

(http://www.thecodecage.com/forumz/member.php?userid=594)
View this thread:
'How do I add Icon to Toolbar? - The Code Cage Forums'

(http://www.thecodecage.com/forumz/sh...d.php?t=130835)



--
Adam.Effinger
------------------------------------------------------------------------
Adam.Effinger's Profile:
http://www.thecodecage.com/forumz/member.php?userid=594
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=130835




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How do I add Icon to Toolbar?


Thanks a lot!!!


--
Adam.Effinger
------------------------------------------------------------------------
Adam.Effinger's Profile: http://www.thecodecage.com/forumz/member.php?userid=594
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=130835

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
Customizing a toolbar icon Hans Knudsen Excel Programming 2 October 15th 08 03:00 PM
toolbar or icon in a add-ins guedj54 Excel Programming 1 October 31st 06 01:06 PM
Add icon to toolbar [email protected] Excel Programming 3 August 1st 06 02:15 AM
Icon in toolbar Nick Excel Programming 1 February 16th 04 11:57 AM
Add Icon to Toolbar SS[_3_] Excel Programming 1 January 16th 04 09:07 PM


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