Run or Call a sub from the list of subs in a drop down.
On Monday, September 30, 2013 12:12:49 AM UTC-7, Claus Busch wrote:
Hi Howard,
Am Sun, 29 Sep 2013 23:14:45 -0700 (PDT) schrieb Howard:
Application.Run (i)
try worksheet_change event:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$F$1" Then Exit Sub
Application.Run (Target)
End Sub
Regards
Claus B.
With this in the sheet 1 module I get an error on the App.Run(Target) line
saying macros may not be available or may be disabled.
(There are three more macros like the one shown)
Howard
Option Explicit
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$F$1" Then Exit Sub
Application.Run (Target)
End Sub
Sub xx1()
MsgBox "one"
End Sub
|