Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Worksheet Change

Dear All,

I have one cell in a worksheet and I want to fire a Macro
when this particular cell changes but not when other
cells change within the same sheet. It would be useful to
know how I can do the same for a range too. Any help is
appreciated. Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 139
Default Worksheet Change

Try something like this
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Application.Intersect(Range("a1:a1"), Target) Is Nothing Then
macrochange
End If
End Sub
Tina
" wrote:

Dear All,

I have one cell in a worksheet and I want to fire a Macro
when this particular cell changes but not when other
cells change within the same sheet. It would be useful to
know how I can do the same for a range too. Any help is
appreciated. Thanks in advance.

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
how to change the pivot chart automaticaly as values in the worksheet change Vinay Vasu Excel Worksheet Functions 0 May 3rd 10 04:25 PM
change formula in a shared worksheet without losing change history DCE Excel Worksheet Functions 5 July 25th 08 01:37 PM
Change Cell from Validated List Not Firing Worksheet Change Event [email protected] Excel Programming 3 October 4th 04 03:00 AM
Worksheet change Andrew Haycock Excel Programming 2 September 8th 03 11:38 AM
Worksheet change Andy Brown Excel Programming 3 September 5th 03 02:40 PM


All times are GMT +1. The time now is 10:27 AM.

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"