+ Reply to Thread
Results 1 to 4 of 4

Need to create a for loop that refers to a number of text boxes

  1. #1
    Forum Contributor
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    180

    Need to create a for loop that refers to a number of text boxes

    Hi there,

    I am trying to create a for loop that refers to a number of text boxes. I have created the code below but I am not sure how to rename textbox1.value into textbox & X.value. Any ideas?

    Please Login or Register  to view this content.
    Any help much appreciated.

    forrestgump1980

  2. #2
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Need to create a for loop that refers to a number of text boxes

    Try this line
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    180

    Re: Need to create a for loop that refers to a number of text boxes

    seems to be saying method or data member not found??

  4. #4
    Forum Expert
    Join Date
    04-23-2009
    Location
    Matrouh, Egypt
    MS-Off Ver
    Excel 2013
    Posts
    6,892

    Re: Need to create a for loop that refers to a number of text boxes

    In this line
    Please Login or Register  to view this content.
    try to change 0 to 1

    If it is the same problem , you have to tell us which textbox you mean .. Userform textbox or worksheet textbox?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Loop through userform text boxes
    By mattress58 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-21-2014, 10:41 AM
  2. [SOLVED] Help to create Command Button with text boxes input
    By pasj in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-19-2013, 12:07 PM
  3. I need to create text boxes for lines that have text
    By keanani in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-09-2013, 06:42 PM
  4. Change Text Boxes in Do While Loop
    By wfire in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-04-2009, 03:18 PM
  5. Forms - Loop thru text boxes
    By Michael Beckinsale in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-10-2006, 02:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1