Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Stanley
 
Posts: n/a
Default Add Sub to Button Bar

Is it possible to add a button to the bar at the top and have it run a SUB I
wrote? I have several SUBs that I have to run on many different spreadsheets
and I get tired of having to attach the module and then run it. It would be
so much easier if I could add a button like Adobe does.
  #2   Report Post  
Posted to microsoft.public.excel.misc
Duke Carey
 
Posts: n/a
Default Add Sub to Button Bar

Do you have your modules in personal.xls? If so, then it is easy to run
them from a toolbar.

Right click on the toolbar and choose Customize from the popup menu
In the dialog, navigate to the Commands tab
In the left panel select Tools
In the right panel scroll to the bottom and choose one of the Custom icons
Drag the icon up to the toolbar and drop it ON THE TOOLBAR - not on an empty
space
Right click on the dropped icon and choose Assign a macro
You can can right click again and change the icon to show Text Only and
change the text to something descriptive


"Stanley" wrote in message
...
Is it possible to add a button to the bar at the top and have it run a SUB
I
wrote? I have several SUBs that I have to run on many different
spreadsheets
and I get tired of having to attach the module and then run it. It would
be
so much easier if I could add a button like Adobe does.



  #3   Report Post  
Posted to microsoft.public.excel.misc
Stanley
 
Posts: n/a
Default Add Sub to Button Bar

Is personal.xls already created? Or is this something I need to create?

"Duke Carey" wrote:

Do you have your modules in personal.xls? If so, then it is easy to run
them from a toolbar.

Right click on the toolbar and choose Customize from the popup menu
In the dialog, navigate to the Commands tab
In the left panel select Tools
In the right panel scroll to the bottom and choose one of the Custom icons
Drag the icon up to the toolbar and drop it ON THE TOOLBAR - not on an empty
space
Right click on the dropped icon and choose Assign a macro
You can can right click again and change the icon to show Text Only and
change the text to something descriptive


"Stanley" wrote in message
...
Is it possible to add a button to the bar at the top and have it run a SUB
I
wrote? I have several SUBs that I have to run on many different
spreadsheets
and I get tired of having to attach the module and then run it. It would
be
so much easier if I could add a button like Adobe does.




  #4   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Add Sub to Button Bar

Are all your Sub's in the same workbook?

If yes, then maybe you could use this:
http://contextures.com/xlToolbar02.html
from Debra Dalgleish's site.

Stanley wrote:

Is it possible to add a button to the bar at the top and have it run a SUB I
wrote? I have several SUBs that I have to run on many different spreadsheets
and I get tired of having to attach the module and then run it. It would be
so much easier if I could add a button like Adobe does.


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
Stanley
 
Posts: n/a
Default Add Sub to Button Bar

Yes I created a workbook called myaddins.xls and was hoping to be able to
pull them from that workbook into excel with custom images hopefully.

"Dave Peterson" wrote:

Are all your Sub's in the same workbook?

If yes, then maybe you could use this:
http://contextures.com/xlToolbar02.html
from Debra Dalgleish's site.

Stanley wrote:

Is it possible to add a button to the bar at the top and have it run a SUB I
wrote? I have several SUBs that I have to run on many different spreadsheets
and I get tired of having to attach the module and then run it. It would be
so much easier if I could add a button like Adobe does.


--

Dave Peterson



  #6   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default Add Sub to Button Bar

If you put your images in a worksheet (hidden???), you can copy and paste.

Try googling with the *excel* newsgroups for .pasteface
and you'll see lots of samples.

Stanley wrote:

Yes I created a workbook called myaddins.xls and was hoping to be able to
pull them from that workbook into excel with custom images hopefully.

"Dave Peterson" wrote:

Are all your Sub's in the same workbook?

If yes, then maybe you could use this:
http://contextures.com/xlToolbar02.html
from Debra Dalgleish's site.

Stanley wrote:

Is it possible to add a button to the bar at the top and have it run a SUB I
wrote? I have several SUBs that I have to run on many different spreadsheets
and I get tired of having to attach the module and then run it. It would be
so much easier if I could add a button like Adobe does.


--

Dave Peterson


--

Dave Peterson
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
Runing two macros triggered by a button Dave Peterson Excel Discussion (Misc queries) 0 December 9th 05 12:43 AM
Command Button anomalies RWN Excel Discussion (Misc queries) 5 May 4th 05 05:09 AM
Command Button VBA code Dave Peterson Excel Discussion (Misc queries) 2 January 25th 05 11:28 PM
command button moves Stuart Excel Discussion (Misc queries) 2 December 15th 04 05:56 PM
How do I setup a spin button in excel Andy K Excel Discussion (Misc queries) 1 November 26th 04 09:08 PM


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