Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 87
Default Looking for range interestion recommendation

Hi, and thanks in advance for any help provided.

GENERAL OVERVIEW:
I have a Named Range in my spreadsheet, SourceData. I'm utilizing
the Worksheet_Change event to update the rows in SourceData. However,
there is the slight (probably remote) possibility that someone change
random cells all over this range at random. For example, the follow
could be
the values for Target.Address, all of which fall in the SourceData
range:

Target.Address = $G$3
Target.Address = $N$8:$P$17
Target.Address = $O$8,$P$10,$N$10,$N$12,$P$12,$O$14,$O$16

I'd guess that a single cell to occur about 85% of the time, one area
of multiple cells to occur about 14% of the time, and several areas of
cells to occur on occasion (say 1%).

WHAT I'M DOING:
I am updating the *entire* row whenever any cell in that row has been
changed.

WHY I'M ASKING FOR HELP:
I am wondering if anyone knows a better way to do this (the one way
I've thought of is to create an array, loop through all cells to set
the position in the array to TRUE if encountered, and only update based
on that -- which isn't bad). One other alternative is I could just
loop through for each active cell, but particularly when a whole region
has been modified, this can result in a lot of unneeded work.

Essentially, I'm looking to see if there is something better that I
haven't thought of, or don't know of.

Thanks,
Scott

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
Book recommendation Bob[_13_] New Users to Excel 3 January 15th 08 01:32 AM
Need a simple recommendation Karen Excel Worksheet Functions 4 April 25th 07 11:20 PM
Book Recommendation spartanmba Excel Discussion (Misc queries) 1 February 10th 05 12:11 AM
Help / Recommendation Pat J Maine Excel Worksheet Functions 3 January 4th 05 07:45 PM
Book Recommendation?? Michael Vaughan Excel Programming 1 October 12th 04 11:32 PM


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