Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi,
How can i make this macro code run in a shared file and col M and N are protected cell. Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False If Not Application.Intersect(Target, Range("K:L")) Is Nothing Then If Target.Count = 1 Then If Target.Offset(0, 2) = "" Then Target.Offset(0, 2) = Now If Target.Column = 12 Then If Target.Offset(0, 1) = "" Then Target.Offset(0, 2) = "" Else Target.Offset(0, 3) = Now - Target.Offset(0, 1) End If End If End If End If Application.EnableEvents = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
if the file is shared, do not execute macro | Excel Programming | |||
VB code stalls when file is shared | Excel Programming | |||
VB Code Works Perfect...but Not when the File is Shared | Excel Programming | |||
Macro error when file is shared | Excel Discussion (Misc queries) | |||
Shared file - macro error | Excel Programming |