P
Patrick C. Simonds
I placed this code under ThisWorkbook but it does not run. If I place the
code on a worksheet it runs fine for that worksheet. My workbook has over 90
worksheets. I was hoping not to have to attach this code to each worksheet.
Am I missing something?
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.range)
If Not Application.Intersect(Target, range("H11:H22")) Is Nothing Then
VacationTaken.Show
End Sub
code on a worksheet it runs fine for that worksheet. My workbook has over 90
worksheets. I was hoping not to have to attach this code to each worksheet.
Am I missing something?
Option Explicit
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.range)
If Not Application.Intersect(Target, range("H11:H22")) Is Nothing Then
VacationTaken.Show
End Sub