PC Review


Reply
Thread Tools Rate Thread

Change events

 
 
=?Utf-8?B?QnJhZA==?=
Guest
Posts: n/a
 
      6th Aug 2007
I'm still relatively new with macros - my question is as follows

A macro that has is set up as a "Worksheet" - "Change" will trigger anytime
a cell is changed. Can I specifically identify one cell and if this cell's
value changes - then additional logic would occur?
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      6th Aug 2007
In the event, Target holds a reference to the trigger cell/cells

if Target.count > 1 then exit sub
if Target.Address = "$B$1" then


End if

--
Regards,
Tom Ogilvy


"Brad" wrote:

> I'm still relatively new with macros - my question is as follows
>
> A macro that has is set up as a "Worksheet" - "Change" will trigger anytime
> a cell is changed. Can I specifically identify one cell and if this cell's
> value changes - then additional logic would occur?

 
Reply With Quote
 
=?Utf-8?B?QnJhZA==?=
Guest
Posts: n/a
 
      6th Aug 2007
I really do appreciate all the help this site provides

Thanks Tom!!

"Tom Ogilvy" wrote:

> In the event, Target holds a reference to the trigger cell/cells
>
> if Target.count > 1 then exit sub
> if Target.Address = "$B$1" then
>
>
> End if
>
> --
> Regards,
> Tom Ogilvy
>
>
> "Brad" wrote:
>
> > I'm still relatively new with macros - my question is as follows
> >
> > A macro that has is set up as a "Worksheet" - "Change" will trigger anytime
> > a cell is changed. Can I specifically identify one cell and if this cell's
> > value changes - then additional logic would occur?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
single events change to recurring events without a prompt. =?Utf-8?B?VFBEYXZpZHNvbg==?= Microsoft Outlook Calendar 0 12th Feb 2007 04:48 AM
Change events Steve Microsoft Excel Discussion 8 10th May 2006 09:44 PM
Hook events in Compact framework to monitor screen change events =?Utf-8?B?bGVpZ2h0b25y?= Microsoft Dot NET Compact Framework 4 21st Feb 2006 07:40 AM
Change events Bryan Glennon Microsoft C# .NET 2 22nd Sep 2003 06:59 AM
can't change order of events Hillary Microsoft Powerpoint 3 9th Jul 2003 06:11 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:25 PM.