Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default is there any event like worhsheet_change for ranges?

Hi,

Just wanted to know wether there is anything like worksheet_change at a
range/cell level.

What I want to do is trigger some code for a specific set of cells ,some
for a specific set of rows, some for a specific set of columns, etc ..

Adding it ALL to worksheet_change will make it sloppy ...

Thanks
Abhinav

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default is there any event like worhsheet_change for ranges?

Hi
you have to use the worksheet_change event (there's no
cell_change_event). Within the worksheet_change event you
can test the target range object and check which action to
execute
-----Original Message-----
Hi,

Just wanted to know wether there is anything like

worksheet_change at a
range/cell level.

What I want to do is trigger some code for a specific set

of cells ,some
for a specific set of rows, some for a specific set of

columns, etc ..

Adding it ALL to worksheet_change will make it sloppy ...

Thanks
Abhinav

.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default is there any event like worhsheet_change for ranges?



Frank Kabel wrote:

Hi
you have to use the worksheet_change event (there's no
cell_change_event).


Just what i was afraid of :(

Within the worksheet_change event you
can test the target range object and check which action to
execute

If this is the only way to do it, doesnt it potentially make the
worksheet_change event a big module with lots of ifs and cases .. or am
i missing something ?

Just wanted to be sure that there is no shortcut/workaround to using
this .. as this seems a bit complex...

Thanks
Abhinav

-----Original Message-----
Hi,

Just wanted to know wether there is anything like


worksheet_change at a

range/cell level.

What I want to do is trigger some code for a specific set


of cells ,some

for a specific set of rows, some for a specific set of


columns, etc ..

Adding it ALL to worksheet_change will make it sloppy ...

Thanks
Abhinav

.


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default is there any event like worhsheet_change for ranges?

[...]
Just wanted to be sure that there is no
shortcut/workaround to using
this .. as this seems a bit complex...


Hi
shouldn't be that complex. Use Intersect and/or select
case target.address
for this
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
Referring to Ranges in Change-Event Macro? Wuddus Excel Discussion (Misc queries) 4 August 24th 07 08:12 PM
Event Procedures: Event on Worksheet to fire Event on another Worksheet Kathryn Excel Programming 2 April 7th 04 07:35 PM
change event/after update event?? scrabtree23[_2_] Excel Programming 1 October 20th 03 07:09 PM
OnTime event not firing in Workbook_Open event procedure GingerTommy Excel Programming 0 September 24th 03 03:18 PM
Event validating two ranges with dates G R E G Excel Programming 1 August 9th 03 12:03 AM


All times are GMT +1. The time now is 06:49 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"