Embed Macro
Closed
GGHerrard
-
Aug 31, 2012 at 09:53 AM
Sanzer Posts 4 Registration date Friday August 31, 2012 Status Member Last seen September 11, 2012 - Sep 6, 2012 at 12:06 PM
Sanzer Posts 4 Registration date Friday August 31, 2012 Status Member Last seen September 11, 2012 - Sep 6, 2012 at 12:06 PM
Related:
- Embed Macro
- Spell number in excel without macro - Guide
- Macro excel download - Download - Spreadsheets
- Excel macro to create new sheet based on value in cells - Guide
- Run macro on opening workbook - Guide
- Excel vba assign macro to button programmatically - Guide
1 response
Sanzer
Posts
4
Registration date
Friday August 31, 2012
Status
Member
Last seen
September 11, 2012
Sep 6, 2012 at 12:06 PM
Sep 6, 2012 at 12:06 PM
See if this helps
In the Select Case, you would change out the names of the macros for "Macro1", "Macro2", and "Macro3" to your actual macro names.
Sub SelectMacro() Dim numPick as Integer numPick = InputBox (Prompt:="1 for Macro1, 2 for Macro2 or 3 for Macro3", Title:="Choose a macro to run") Select Case numPick Case "1" Macro1 Case "2" Macro2 Case "3" Macro3 End Select End Sub
In the Select Case, you would change out the names of the macros for "Macro1", "Macro2", and "Macro3" to your actual macro names.