ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How do I create a scroll list of macro buttons? (https://www.excelbanter.com/excel-discussion-misc-queries/53037-how-do-i-create-scroll-list-macro-buttons.html)

RobertM

How do I create a scroll list of macro buttons?
 
I have created several buttons for different macros on one worksheet. How
can I make some type of scroll list that contains each macro button?

Gord Dibben

How do I create a scroll list of macro buttons?
 
Place the buttons on a Toolbar which is activated when that worksheet is
activated.

Private Sub Worksheet_Activate()
Application.CommandBars("new bar name").Visible = True
End Sub

Private Sub Worksheet_Deactivate()
Application.CommandBars("new bar name").Visible = False
End Sub


Gord Dibben Excel MVP



On Mon, 31 Oct 2005 13:15:04 -0800, "RobertM"
wrote:

I have created several buttons for different macros on one worksheet. How
can I make some type of scroll list that contains each macro button?




All times are GMT +1. The time now is 03:33 AM.

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