Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Text Box Change Event

I'm coding a userform text box change event. I want a msgbox to come up if
the user changes the cell contents but the msgbox comes up if the new
contents are different from the old contents; however, if the user just tabs
out of the text box the msgbox comes up (i.e. - the program sees that as a
"change" event.

Does the "change" refer to a change in focus or a change in the contents?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Text Box Change Event

The change event occurs when the value property changes. It would not occur
on a tab out unless the value was changed simultaneously.

"dunnerca" wrote:

I'm coding a userform text box change event. I want a msgbox to come up if
the user changes the cell contents but the msgbox comes up if the new
contents are different from the old contents; however, if the user just tabs
out of the text box the msgbox comes up (i.e. - the program sees that as a
"change" event.

Does the "change" refer to a change in focus or a change in the contents?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 477
Default Text Box Change Event

Always post your existing code - FOR THE BEST ANSWER (Results).

"dunnerca" wrote:

I'm coding a userform text box change event. I want a msgbox to come up if
the user changes the cell contents but the msgbox comes up if the new
contents are different from the old contents; however, if the user just tabs
out of the text box the msgbox comes up (i.e. - the program sees that as a
"change" event.

Does the "change" refer to a change in focus or a change in the contents?

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
How do I change a Worksheet_change event to a beforesave event? Tueanker Excel Programming 5 June 29th 07 03:00 PM
text manipulation in change event AD108 Excel Programming 3 September 17th 06 12:34 AM
Changing Cell Text During Change Event nullGumby Excel Programming 2 June 26th 06 08:36 PM
MsgBox in Enter event causes combobox not to run Change event Richard Excel Programming 0 March 6th 06 02:52 PM
Fine-tuning selection change event for merged cells & wrap text Lucy Barber Excel Programming 0 September 7th 04 10:10 PM


All times are GMT +1. The time now is 10:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"