Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

keyword to clear array

Status
Not open for further replies.

ADoozer

Programmer
Dec 15, 2002
3,487
AU
arghh! someone posted a week ago or so a question about resetting all values in an array (other than the for i=lbound(array) to ubound(array) route)

it was a very simple keyword, but i cant remember it or find it...

can anyone point me to the thread or tell me the keyword!!!

thnx in advance! If somethings hard to do, its not worth doing - Homer Simpson
 
cheers guys! If somethings hard to do, its not worth doing - Homer Simpson
 
??? Like

Private Sub Command1_Click()
Dim Contrl As Control
For Each Contrl In Form1.Controls
If (TypeOf Contrl Is TextBox) Then Contrl.Text = ""
Next Contrl
End Sub

Eric De Decker
vbg.be@vbgroup.nl

 
edderic: thanks for the input, the other guys got the nail on the head though, it really was that simple, just my brain died about 2.30 this afternoon.

appreciated anyways! If somethings hard to do, its not worth doing - Homer Simpson
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top