Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 30
Default Put variable into text ?

I have 60 lines like this one

TextBox01.Text = ..
TextBox02.Text = ....
....
....

Now I would like to make it more simple by setting a variable - X - into the TextBox-text
and then do a loop 60 time instead of writing 60 lines.

My idée was to do it like this - TextBox & X &.Text
But it does not work. What is wrong ?

--
My Photoalbum
www.photo.activewebsite.dk



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Put variable into text ?

See response in public.excel

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"SpookiePower" wrote in message
. dk...
I have 60 lines like this one

TextBox01.Text = ..
TextBox02.Text = ....
...
...

Now I would like to make it more simple by setting a variable - X - into

the TextBox-text
and then do a loop 60 time instead of writing 60 lines.

My idée was to do it like this - TextBox & X &.Text
But it does not work. What is wrong ?

--
My Photoalbum
www.photo.activewebsite.dk





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
Macro - Fixed text code needs replacing with variable text steven.holloway Excel Discussion (Misc queries) 3 July 22nd 08 03:57 PM
Entering Variable Text in Text Boxes...... Steve Jones Excel Discussion (Misc queries) 3 June 14th 07 02:34 PM
Right Text - Variable Find Karin Excel Discussion (Misc queries) 2 June 7th 07 03:24 PM
Putting text in a column based on variable text from another colum Jacky D. Excel Discussion (Misc queries) 1 December 16th 04 06:09 PM
check variable(text) with cell (text), textbox Mark[_17_] Excel Programming 1 August 27th 03 01:15 PM


All times are GMT +1. The time now is 03:24 AM.

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"