+ Reply to Thread
Results 1 to 3 of 3

If x = (value in array name specified in textbox1.value) then

  1. #1
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    If x = (value in array name specified in textbox1.value) then

    How do I get VBA to do:

    Please Login or Register  to view this content.
    ?
    Last edited by ks100; 10-14-2014 at 01:12 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: If x = (value in array name specified in textbox1.value) then

    What is X? A variable? An array? String?
    You say an array named in textbox1, an array meaning what? Textboxes contain strings sure but I'm not sure about arrays

    Can you expand on this question a little more?
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Forum Contributor
    Join Date
    09-04-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    298

    Re: If x = (value in array name specified in textbox1.value) then

    Quote Originally Posted by Speshul View Post
    What is X? A variable? An array? String?
    You say an array named in textbox1, an array meaning what? Textboxes contain strings sure but I'm not sure about arrays

    Can you expand on this question a little more?

    There are a series of text boxes on a userform. Ten to be exact.

    You can type of up to 10 names of people you want to search for projects assigned to them.

    I want it so that if you type the name of a person in the text boxes, it will check if X ( a string) contains one of those values.

    I also want it so that I can name arrays. For example, if James is over 10 employees. I want to be able to enter James' name in one of the text boxes, and have it pull all 10 names from the "James" array, and check to see if X is = to any of them.

+ 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. If textbox1 is empty then put paste some default text to textbox1
    By vijaynadiad in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-19-2013, 03:16 PM
  2. [SOLVED] Always keep the focus on textbox1
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2013, 01:30 PM
  3. [SOLVED] TextBox1 = TextBox2
    By Anto_BT in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-20-2012, 03:34 AM
  4. textbox1 set focus
    By ccs_1981 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-21-2008, 07:34 AM
  5. TextBox1 to Label4
    By damorrison in forum Excel General
    Replies: 5
    Last Post: 03-12-2006, 12:10 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