ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   excel 2003 - macros & buttons (https://www.excelbanter.com/new-users-excel/26824-excel-2003-macros-buttons.html)

mikey

excel 2003 - macros & buttons
 
I have created two macros in a spreadsheet - SortByName amd SortByVersion -
how can I put two buttons in the spreadsheet to run the macros ?

I've looked in help and it keeps telling me about putting buttons in
toolbars, which is not what I want to do

regards
Mike



Bob Phillips

Go to ToolsCustomize. In the dialog you will see an item under Toolbars
called Forms. Check that and you will get a new toolbar with a commandbutton
on it, just drag that onto the spreadsheet and assign the macro when asked.

--
HTH

Bob Phillips

"mikey" wrote in message
...
I have created two macros in a spreadsheet - SortByName amd

SortByVersion -
how can I put two buttons in the spreadsheet to run the macros ?

I've looked in help and it keeps telling me about putting buttons in
toolbars, which is not what I want to do

regards
Mike





mikey

Cheers Bob ! that did the job

"Bob Phillips" wrote in message
...
Go to ToolsCustomize. In the dialog you will see an item under Toolbars
called Forms. Check that and you will get a new toolbar with a

commandbutton
on it, just drag that onto the spreadsheet and assign the macro when

asked.

--
HTH

Bob Phillips

"mikey" wrote in message
...
I have created two macros in a spreadsheet - SortByName amd

SortByVersion -
how can I put two buttons in the spreadsheet to run the macros ?

I've looked in help and it keeps telling me about putting buttons in
toolbars, which is not what I want to do

regards
Mike








All times are GMT +1. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com