Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
sheet event does not recognise Tartget
Hi :( A1 B1 C1 0 20 20 A1:=sum(B1-C1) i want the code to recognise A1 as the Target, so if the Target < then procced the rest Code ------------------- Private Sub Worksheet_Change(ByVal Target As Range) Dim T As Range Set T = Range("A5:A1000") If Application.Intersect(Target, T) Is Nothing Then If Target.Value < 0 Then Beep Msg = MsgBox(" Imbalanced operation with " & Target.Value, vbCritical, "The Balance!") End If End If End Su ------------------- could someone pls help........any help is appreciated yours -- helmekk ----------------------------------------------------------------------- helmekki's Profile: http://www.excelforum.com/member.php...nfo&userid=693 View this thread: http://www.excelforum.com/showthread.php?threadid=26981 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Having to Press F2 to recognise data from another sheet in Excel | Excel Discussion (Misc queries) | |||
Start a sheet event when i leave a sheet | Excel Programming | |||
Assign values to a cell in sheet A, from worksheet_change event of sheet B | Excel Programming | |||
Name of Event for Sheet | Excel Programming | |||
Sheet Event | Excel Programming |