Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Having to Press F2 to recognise data from another sheet in Excel AJButler Excel Discussion (Misc queries) 6 January 11th 07 11:43 AM
Start a sheet event when i leave a sheet hans[_3_] Excel Programming 2 May 21st 04 09:43 PM
Assign values to a cell in sheet A, from worksheet_change event of sheet B Arif Khan Excel Programming 1 May 4th 04 04:51 AM
Name of Event for Sheet Kyle[_3_] Excel Programming 0 November 7th 03 07:04 PM
Sheet Event Gareth[_3_] Excel Programming 2 November 1st 03 03:29 PM


All times are GMT +1. The time now is 02:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"