+ Reply to Thread
Results 1 to 6 of 6

Dynamic Validation lists in Excel

  1. #1
    Registered User
    Join Date
    11-17-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    12

    Dynamic Validation lists in Excel

    Hi all,

    I'm a tester and I'm using keyword driven framework for my tests. I need to make dynamic validation lists in my Excel scripts.

    I have four columns Screen Name, Environment, Object and Keyword.

    For example if I choose the Screen X, I need a list A of n environment names be added, If I choose Y as Environment a list B has to be added and If I choose Z as Objects name, a list C of keywords should be added.

    I need to add all the lists from text files, for each list I has a text file that conatins all the items of this list seperated by a comma.

    I created a macro that do this only for the first list means if in the first column I choose X it displays list A.

    HTML Code: 
    Can any one please, help me to make this Sub general means it does the same thing for the third and the fourth column and what ever the input of Column i-1, it display the correspondant list and not for only one input.

    I'm here for any additional detail.

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Dynamic Validation lists in Excel

    Will the list change according to my input in i-1 column? So if I select screen X, I will get a list and if I select say screen Y some other list has to be loaded?
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Registered User
    Join Date
    11-17-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    12

    Re: Dynamic Validation lists in Excel

    Yes, each list in column 2 or 3 or 4 depends to the input of colunm i-1

  4. #4
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Dynamic Validation lists in Excel

    Then could you tell how to determine the text file name to look at based upon the input of previous column.

  5. #5
    Registered User
    Join Date
    11-17-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    12

    Re: Dynamic Validation lists in Excel

    I'm thinking about naming the text file as the same name of the input of the column i-1 if it is composed of one word or to take the significant word if it is composed of many words. In my case: I have inputs with one word and inputs with more than one word the significant word is made between""

    I have two types of inputs: * One word like Allocation * More than one words like Allocation("name1") or Allocation.x("name1")

    So if I have one word my file will be named with this word and if I have "" in my input value my text will be named with the word between these ""

  6. #6
    Registered User
    Join Date
    11-17-2016
    Location
    London
    MS-Off Ver
    2016
    Posts
    12

    Re: Dynamic Validation lists in Excel

    Any Suggestions please ??

+ 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. Dynamic Data Validation Lists
    By DaBrot791 in forum Excel General
    Replies: 12
    Last Post: 08-10-2016, 07:46 PM
  2. [SOLVED] Help with Dynamic Validation Lists / Drop Downs / dynamic filters
    By rjnc in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-22-2016, 08:10 PM
  3. Tables with dynamic validation lists
    By petocities in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-07-2015, 12:14 PM
  4. Dynamic data validation lists
    By FlashyChap in forum Excel General
    Replies: 2
    Last Post: 01-12-2015, 11:31 AM
  5. Dynamic Data Validation Lists
    By Daniel Brown in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-05-2014, 08:08 AM
  6. Help with Dynamic Dependent Validation lists
    By oo0tommyk0oo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-21-2010, 05:12 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