ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pull Down Menu Macro (https://www.excelbanter.com/excel-programming/340861-pull-down-menu-macro.html)

ciba1234[_3_]

Pull Down Menu Macro
 

I am looking for a macro to run from the menu.

I need the menu macro to support running two macros separately.

Like

-Run Macro
- Sub (Run Macro 1)
- Sub (Run Macro 2)

Please help

--
ciba123
-----------------------------------------------------------------------
ciba1234's Profile: http://www.excelforum.com/member.php...fo&userid=2729
View this thread: http://www.excelforum.com/showthread.php?threadid=46998


David McRitchie

Pull Down Menu Macro
 
Hi .....,
You will need a third macro

Sub Macro3()
Application.Run "personal.xls!Macro1"
Application.Run "personal.xls!Macro2"
End Sub

more information in
http://www.mvps.org/dmcritchie/excel/install.htm

I don't think your question involved how to add a menu item but if
I'm mistaken see
http://www.mvps.org/dmcritchie/excel/toolbars.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"ciba1234" wrote in message
...

I am looking for a macro to run from the menu.

I need the menu macro to support running two macros separately.

Like

-Run Macro
- Sub (Run Macro 1)
- Sub (Run Macro 2)





All times are GMT +1. The time now is 05:14 AM.

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