+ Reply to Thread
Results 1 to 3 of 3

Thread: Dropdown list with Functions

  1. #1
    Registered User
    Join Date
    05-11-2011
    Location
    Perth
    MS-Off Ver
    Excel 2007
    Posts
    12

    Dropdown list with Functions

    Hi All,

    I hope you can help me work out if this is possible.

    2 Columns. First called Field, Second called Command

    In the Field column is things like, firstname, surname, address etc

    In the Command column is the corresponding vba function to query AD and pull this info back in the form of =getadinfo("cn",A2,"givenname")

    Therefore Firstname = =getadinfo("cn",A2,"givenname")

    Now what I want to do is to create a dropdown list based on the Field column and upon selecting Firstname/Surname/Address etc, then the function from the Command column is performed.

    Is this even possible especially since the cell with the function "appears" blank?

    Thanks very much.

  2. #2
    Registered User
    Join Date
    05-11-2011
    Location
    Perth
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Dropdown list with Functions

    Does anyone have any ideas?
    Thanks,

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    2003 & 2007 & 2010
    Posts
    11,346

    Re: Dropdown list with Functions

    See article on dependent validations
    http://www.contextures.com/xlDataVal02.html
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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.2.0