Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / May 2007

Tip: Looking for answers? Try searching our database.

change and selectionchange event

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
clara - 24 May 2007 21:32 GMT
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
Signature

thank you so much for your help

Bob Phillips - 24 May 2007 21:50 GMT
Let me ask you a question.

Why do you think this?

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

Signature

---
HTH

Bob

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

> Hi all,
>
[quoted text clipped - 7 lines]
>
> Clara
clara - 25 May 2007 13:19 GMT
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
Signature

thank you so much for your help

> Let me ask you a question.
>
[quoted text clipped - 13 lines]
> >
> > Clara
Susan - 25 May 2007 14:51 GMT
i don't believe that moving FOCUS to another cell triggers
selectionchange, only if you SELECT another cell.
AFAIK
susan

> Hi,
>
[quoted text clipped - 36 lines]
>
> - Show quoted text -
Bob Phillips - 25 May 2007 16:45 GMT
That is true, but you don't have to do anything in the SelectionChange
event, so what is the problem?

Signature

---
HTH

Bob

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

> Hi,
>
[quoted text clipped - 26 lines]
>> >
>> > Clara
JE McGimpsey - 24 May 2007 21:56 GMT
Take a look here (about 2/3 down the page) for the event order:

   http://cpearson.com/excel/events.htm

> Hi all,
>
[quoted text clipped - 5 lines]
>
> Clara
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.