Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy code from ThisWorkbook using VBA? | Excel Programming | |||
Turn off ThisWorkbook Code? | Excel Programming | |||
Deleting Code in 'ThisWorkbook' | Excel Programming | |||
Attaching a macro (module) code to button | Excel Programming | |||
Delete the code in ThisWorkbook | Excel Programming |