PC Review


Reply
Thread Tools Rate Thread

clear results when any input box changes

 
 
Jacob
Guest
Posts: n/a
 
      13th Oct 2006
I have a userform with quite a few input textboxes and output (results)
textboxes. I want the results textboxes to clear when any input
textbox is changed. is there an easier way to do this than to write a
sub that clears the results textboxes, and write a change event for
every input textbox that calls the clear sub? I could do that, but it
seems there would be easier way. thanks

 
Reply With Quote
 
 
 
 
=?Utf-8?B?SkxHV2hpeg==?=
Guest
Posts: n/a
 
      13th Oct 2006
I have not tried it but it seems that if your text boxes are named, you could
put the ones you want to clear in an array and clear them all at once.

"Jacob" wrote:

> I have a userform with quite a few input textboxes and output (results)
> textboxes. I want the results textboxes to clear when any input
> textbox is changed. is there an easier way to do this than to write a
> sub that clears the results textboxes, and write a change event for
> every input textbox that calls the clear sub? I could do that, but it
> seems there would be easier way. thanks
>
>

 
Reply With Quote
 
Jacob
Guest
Posts: n/a
 
      13th Oct 2006
it's not so much the clearing of the textboxes that i am concerned
with. I am more concerned with having a separate change event for each
trigger textbox. does that make sense?


JLGWhiz wrote:
> I have not tried it but it seems that if your text boxes are named, you could
> put the ones you want to clear in an array and clear them all at once.
>
> "Jacob" wrote:
>
> > I have a userform with quite a few input textboxes and output (results)
> > textboxes. I want the results textboxes to clear when any input
> > textbox is changed. is there an easier way to do this than to write a
> > sub that clears the results textboxes, and write a change event for
> > every input textbox that calls the clear sub? I could do that, but it
> > seems there would be easier way. thanks
> >
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to clear form results salsweb Microsoft Frontpage 22 24th Jul 2008 03:00 PM
how do I clear the input buffer? not_a_commie Microsoft C# .NET 0 1st Nov 2007 11:38 PM
How to clear an input type=file? ThunderMusic Microsoft ASP .NET 0 20th Dec 2006 04:05 PM
Clear search results in XP =?Utf-8?B?emFr?= Windows XP General 3 23rd Jun 2006 05:55 PM
Clear User Input Matt Microsoft Excel Worksheet Functions 3 15th Jan 2004 04:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:37 PM.