ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Macro hot button in Spreadsheet (https://www.excelbanter.com/excel-worksheet-functions/128974-macro-hot-button-spreadsheet.html)

watchtower

Macro hot button in Spreadsheet
 
How can I create a hot button/key in my spreadsheet and attach a Macro that
will be available to everyone that opens it?

For example, I have a formatting macro on a shared file. When anyone opens
the file, I would like them to be able to click on a Macro button in some
cell, i.e. G1, which then runs the macro.

Thanks for the feedback.
Adam


Gary''s Student

Macro hot button in Spreadsheet
 
First make the macro

Then in the wroksheet:

View Toolbars Forms

click the button form and draw the button on the worksheet.
Assign the macro as part of the drawing or right-click the button to asign
the macro
--
Gary''s Student
gsnu200703


"watchtower" wrote:

How can I create a hot button/key in my spreadsheet and attach a Macro that
will be available to everyone that opens it?

For example, I have a formatting macro on a shared file. When anyone opens
the file, I would like them to be able to click on a Macro button in some
cell, i.e. G1, which then runs the macro.

Thanks for the feedback.
Adam


watchtower

Macro hot button in Spreadsheet
 
Perfect! So easy!

"Gary''s Student" wrote:

First make the macro

Then in the wroksheet:

View Toolbars Forms

click the button form and draw the button on the worksheet.
Assign the macro as part of the drawing or right-click the button to asign
the macro
--
Gary''s Student
gsnu200703


"watchtower" wrote:

How can I create a hot button/key in my spreadsheet and attach a Macro that
will be available to everyone that opens it?

For example, I have a formatting macro on a shared file. When anyone opens
the file, I would like them to be able to click on a Macro button in some
cell, i.e. G1, which then runs the macro.

Thanks for the feedback.
Adam


CLR

Macro hot button in Spreadsheet
 
I generally set up all my sheets up with about 8-10 rows frozen at the top.
Then I put my buttons in that area and that makes them available as the user
scrolls down the sheet.........particularly useful on large databases are a
pair of arrowheads marked "Go to bottom", and "Go to top"........I just use
ordinary drawing objects such as rectangles or ovals, and sometimes miniature
..jpg's to act as an icon. Then I just right-click and assign the macros to
them.

hth
Vaya con Dios,
Chuck, CABGx3





"watchtower" wrote:

How can I create a hot button/key in my spreadsheet and attach a Macro that
will be available to everyone that opens it?

For example, I have a formatting macro on a shared file. When anyone opens
the file, I would like them to be able to click on a Macro button in some
cell, i.e. G1, which then runs the macro.

Thanks for the feedback.
Adam



All times are GMT +1. The time now is 11:28 AM.

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