Private Sub Workbook_SheetChange
Posted by Paul Magruder on April 18, 2001 7:20 PM
How do I specify I only want this macro to run when the data in "A1" changes on sheet1? It currently will run if the data changes in cell a1 on any sheet in the workbook.
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Excel.Range)
Sheets("sheet1").Select
If Range("A1").Value = ("Test") Then
showform1
End If
End sub
Thanks in advance
Paul