change and selectionchange event

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

I find change and selectionchange are entwined together. If I want to limit
a cell' content change, I have to handle selectionchange ,change and
selectionchange orderly. Because focus first need to move to the cell, then
change the content and last focus move to other cell. Could you give me a
clear explanation what can I should in these step?

Clara
 
Let me ask you a question.

Why do you think this?

I can limit a cell's content simple with the change event.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Hi,

In order to make a change to a cell, first you have to move the focus to the
cell and it causes selectionchange , after you type in the cell, you move the
focus out to other cells and at this time, the excel know there is a change
in a cell and a new selectionchange is also triggered.

Clara
 
i don't believe that moving FOCUS to another cell triggers
selectionchange, only if you SELECT another cell.
AFAIK
susan
 
That is true, but you don't have to do anything in the SelectionChange
event, so what is the problem?

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Back
Top