LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Looping through TextBoxes

I have a UserForm with an array of TextBoxes that allows the user to edit
selected data arrays from a larger database. To load these TextBoxes I can
use a brute force method:

With UserForm1
.txBox1 = array(1)
.txBox2 = array(2)
etc

but it would obviously be better to do this in a loop. My problem is I
cant figure how to synthesize the TextBox names so I can use a loop to
functionally do:

.txBoxn= array(n)
Can someone tell me how to do this?

--
Al_82
 
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
Looping through TextBoxes Dave Peterson Excel Programming 1 November 28th 09 04:26 AM
Show Results in TextBoxes, ONLY if All TextBoxes have Data in them RyanH Excel Programming 3 November 19th 07 03:30 PM
Looping thru TextBoxes John Pierce Excel Programming 1 March 8th 07 05:32 PM
Looping through textboxes CLamar Excel Discussion (Misc queries) 1 July 12th 06 04:33 PM
Userform Textboxes and Looping Robbyn Excel Programming 2 March 17th 05 03:07 AM


All times are GMT +1. The time now is 07:18 AM.

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"