#1   Report Post  
Posted to microsoft.public.excel.misc
Chip Smith
 
Posts: n/a
Default Macro button

i wrote a macro for formatting a spreadsheet. is there a way to add a button
to excel like in a menu or button on the shortcut menu bar that when you
click on it from ANY workbook it will run this macro?
--
--Chip Smith--

  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Macro button

If your macro is stored in the personal.xls you can do
viewtoolbarscustomize, select commands, scroll down to the macros and
select the custom button, then drag it unto your toolbar, there you can
right click it and change the button image, edit the image and assign your
macro.

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"Chip Smith" wrote in message
...
i wrote a macro for formatting a spreadsheet. is there a way to add a
button
to excel like in a menu or button on the shortcut menu bar that when you
click on it from ANY workbook it will run this macro?
--
--Chip Smith--



  #3   Report Post  
Posted to microsoft.public.excel.misc
Patricia Shannon
 
Posts: n/a
Default Macro button

You can change the image to text that you specify. Right click on the button.
If you don't already have the customize box up, it will prompt you for that.
Then you would have to right click again.
Click on "Text Only". If you want text to show that is different from the
macro name, change the text in the "Name" box.

"Peo Sjoblom" wrote:

If your macro is stored in the personal.xls you can do
viewtoolbarscustomize, select commands, scroll down to the macros and
select the custom button, then drag it unto your toolbar, there you can
right click it and change the button image, edit the image and assign your
macro.

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"Chip Smith" wrote in message
...
i wrote a macro for formatting a spreadsheet. is there a way to add a
button
to excel like in a menu or button on the shortcut menu bar that when you
click on it from ANY workbook it will run this macro?
--
--Chip Smith--




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Macro button

Hi Patricia,

I tried this on a dummy macro just to see how it works. Now the button shows
up on every worksheet or excel file that I have. How do I delete this button?

Thanks,


"Patricia Shannon" wrote:

You can change the image to text that you specify. Right click on the button.
If you don't already have the customize box up, it will prompt you for that.
Then you would have to right click again.
Click on "Text Only". If you want text to show that is different from the
macro name, change the text in the "Name" box.

"Peo Sjoblom" wrote:

If your macro is stored in the personal.xls you can do
viewtoolbarscustomize, select commands, scroll down to the macros and
select the custom button, then drag it unto your toolbar, there you can
right click it and change the button image, edit the image and assign your
macro.

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"Chip Smith" wrote in message
...
i wrote a macro for formatting a spreadsheet. is there a way to add a
button
to excel like in a menu or button on the shortcut menu bar that when you
click on it from ANY workbook it will run this macro?
--
--Chip Smith--




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Macro button

Oh please disregard my previous message... found out how to delete the
button... Thanks!

"Patricia Shannon" wrote:

You can change the image to text that you specify. Right click on the button.
If you don't already have the customize box up, it will prompt you for that.
Then you would have to right click again.
Click on "Text Only". If you want text to show that is different from the
macro name, change the text in the "Name" box.

"Peo Sjoblom" wrote:

If your macro is stored in the personal.xls you can do
viewtoolbarscustomize, select commands, scroll down to the macros and
select the custom button, then drag it unto your toolbar, there you can
right click it and change the button image, edit the image and assign your
macro.

--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com



"Chip Smith" wrote in message
...
i wrote a macro for formatting a spreadsheet. is there a way to add a
button
to excel like in a menu or button on the shortcut menu bar that when you
click on it from ANY workbook it will run this macro?
--
--Chip Smith--




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
Button not bring up Macro I created A.S. Excel Discussion (Misc queries) 1 July 22nd 05 10:21 PM
Assign a macro to Command Button Object dallin Excel Discussion (Misc queries) 2 July 13th 05 03:50 AM
Macro Button Maggie Excel Discussion (Misc queries) 3 June 28th 05 04:29 AM
Attaching a macro to a VB button on a form WildGlio Excel Worksheet Functions 2 March 25th 05 11:11 PM
Assigning a macro to a "button" Yvon Excel Discussion (Misc queries) 6 February 8th 05 10:58 PM


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