+ Reply to Thread
Results 1 to 3 of 3

Sending Text to TextBox with same class name

  1. #1
    Registered User
    Join Date
    04-17-2013
    Location
    California
    MS-Off Ver
    Excel 2013 32bit
    Posts
    9

    Sending Text to TextBox with same class name

    Hello and thank you all for all the usefull information posted on this site. I am pretty new at all of this. I am trying to send text to two fields that both have the same class name. I cant figure out how I am supposed to tell it which textbox I am trying to send text to in another application. The code below sends text to the password field but not to the username field. I know the code for the username is the same as the password but what do I need to do to tell it which textbox to send the information to.

    Please Login or Register  to view this content.
    Thanks in advance for your help!
    Attached Images Attached Images

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Sending Text to TextBox with same class name

    As I see it;


    Please Login or Register  to view this content.
    Is calling a subroutine and giving it 4 variables.

    your textbox number t should be a fifth variable

    then within your subroutine

    Please Login or Register  to view this content.
    Will change the specified textbox.

  3. #3
    Registered User
    Join Date
    04-17-2013
    Location
    California
    MS-Off Ver
    Excel 2013 32bit
    Posts
    9

    Re: Sending Text to TextBox with same class name

    Thanks for the reply but I really don’t understand how I am supposed to use that? Any more guidance would be greatly appreciated.

+ 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. creating a custom class event for worksheet textbox lostfocus
    By Willardio in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-27-2013, 02:00 AM
  2. Replies: 7
    Last Post: 10-25-2012, 11:31 AM
  3. Sending Textbox values to Table confused
    By mribnik in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-21-2011, 07:39 PM
  4. Set property of TextBox class
    By RUOTAHEL in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-16-2010, 04:49 AM
  5. Replies: 0
    Last Post: 11-30-2005, 01:10 PM

Tags for this Thread

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