Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Greetings,
Use the following code to loop through controls on a userform Sub ReadAllTextboxes() Dim formControl As Control For Each formControl In UserForm1 If TypeName(formControl ) = "TextBox" Then . . . Your Code Here To Test Value End If Next formControl End Sub This should work for you -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Textboxes | Excel Discussion (Misc queries) | |||
tab between several textboxes | Excel Worksheet Functions | |||
textboxes | Excel Programming | |||
HELP!!!! Can't stop a loop (NOT an infinite loop) | Excel Programming | |||
Sum textboxes in a collection | Excel Programming |