Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Looping through TextBox's

Do Until x = 101
Sheets("Sheet1").Cells(n, x + 5) = Userform1.Controls("TextBox" &
x).Value
x = x + 1
Loop


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"PaulW" wrote in message
...
Do Until x = 101
Sheets("Sheet1").Cells(n, x + 5) = TextBox(x).Value
x = x + 1
Loop

That's essentially what I want to do, take the values of Textboxes 1 to
100
and put them in columns F to whatever. How can I loop through the
textboxes
without having to have a line for every box?



Reply
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
Formating textbox's on a userform Oggy Excel Programming 2 January 23rd 07 09:01 PM
Tabbing between textbox's dr chuck Excel Programming 3 September 3rd 06 07:04 PM
Digits in textbox's Greg B Excel Discussion (Misc queries) 4 September 4th 05 06:23 PM
Digits in textbox's Greg B[_5_] Excel Programming 4 September 4th 05 06:23 PM
Textbox's and Dates the usual conflict Marcus Walker Excel Programming 1 October 19th 04 02:52 PM


All times are GMT +1. The time now is 04:51 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"