Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
slarbie...After doing some testing, I found one issue with the code and was
wondering how to fix. The code works great unless whenever a value is input in Column L, it updates the cell to the left in Column K. Any other time a value is placed in Columns M through BL, it updates only back to L. Is this correctable?? Thx!! "slarbie" wrote: slarbie wrote: Here's more or less the same idea, but without the looping Private Sub Worksheet_Change(ByVal Target As Range) Dim c As Long, r As Long, isect As Range Set isect = Intersect(Target, Range("L6:BL155")) If isect Is Nothing Then Exit Sub c = Target.Column r = Target.Row Application.EnableEvents = False Range(Cells(r, 12), Cells(r, c - 1)).Value = Target.Value Application.EnableEvents = True End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
event macros vs copy/paste | Excel Worksheet Functions | |||
Ws Selection Change Event Code, Copy a Cell problem | Excel Programming | |||
Copy picture and remove event code | Excel Programming | |||
Change event copy & paste | Excel Programming | |||
Worksheet_Change Event - Macro kills copy and paste | Excel Programming |