Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If Target.Column = 6 And Target.Value 1 And Target.Offset(0, 2).Value 1
Then Target.Offset(0, 3).Value = Target.Value - Target.Offset(0, 2).Value ElseIf Target.Column = 8 And Target.Value 1 And Target.Offset(0, -2).Value 1 Then Target.Offset(0, 1).Value = Target.Offset(0, -2).Value - Target.Value End If I get the following when entering data in Cell A on a new line: "Run-Time error '1004' Application-defined or object-defined error Any thoughts? Kevin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to find code | Excel Discussion (Misc queries) | |||
Find last row code | Excel Discussion (Misc queries) | |||
cannot find code | Excel Programming | |||
Help with this Find code please | Excel Programming | |||
VBA Code to FIND | Excel Programming |