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
- Excel online macro - Guide
- Excel run macro on open - Guide
- Macro for number to words in excel - Guide
- Excel macro download - Download - Spreadsheets
- How to copy macro from one workbook to another - 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.
