Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Armando Peterson   on Dec 30 In MS Office Category.

  
Question Answered By: Aakifah Khan   on Dec 30

You say "Any time  the current  cell changes ...". Do you mean that the
contents of the current cell  changes, or do you mean that you move the
selection to a different cell?

I'll assume that you are talking about changing the selection.

If so, you need code - not formulas. You will need to use the "worksheet
selection change" event. That event has a parameter which is the cell that
is the current selection.

Best way is to use the Intersect function to see if there is an intersection
between the current cell and a Range function call containing a
comma-separated list of your various small ranges.

If there is an intersection, then you know it's one of your wanted cells.
Simply assign the value of the active cell into the value property of M7.
Otherwise, assign an empty string.

A few Google searches will get you appropriate examples.

Note that this will only work  when the selection changes. I.e. it will not
work for the initial position of the active cell.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Copying current cell's value to another cell Or get search suggestion and latest updates.


Tagged: