I pass textbox control arrays to a "clear text" sub routine all the time. Try this sub:
Public Sub ClearTextInArray(ParamArray TheControls() As Variant)
'rmg
'this routine will only work with text boxes that have been set up in an array
On Error Resume Next
Dim MyTextSource As Variant
For Each MyTextSource In TheControls
MyTextSource.Text = ""
Next MyTextSource
Substitute txtCustInfo for your textbox array name. I've used this same type of code for other control arrays as well. (NOTE: When useing ParamArray you MUST declare it as a Variant)
I hope this is what you meant by your question.
As far as scrolling forms, I've seen numberous examples of code to do this. I've never tried any of it. Take a stroll through
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.