Consulting

Results 1 to 5 of 5

Thread: Data Validation: Listbox

  1. #1

    Exclamation Data Validation: Listbox

    Hi,
    I have a drop-down box in a cell using data validation..
    I am wondering if it is possible to input the "Source" of the Data Validation from other sheet using range names..

    thanks

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Yes, exactly as you describe it.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Regular
    Joined
    Dec 2007
    Posts
    78
    Location
    I am doing exactly this, but am getting the "...you may not use references to other worksheets..." error.

    Annoyingly, I got round this before, but can't remember how.

    I think in hindsight the problem was in my coding.

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    As mentioned in the original pots, you have to create a defined name for the raneg in the other sheet, and use that name in the DV.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    VBAX Regular
    Joined
    Dec 2007
    Posts
    78
    Location
    Ta, your reinforcement pointed me in the right direction.

    The name had been defined but between splitting the sheets into separate workbooks and sending them around the t'interweb before receiving them back and then re-amalgamating them into 1 workbook, the external sheet named ranges had got prefixxed with the name of the temporary C: file used when saved as separate sheets from email.

    Oh well, fixed now.

    I think in hindsight the problem was in my coding.

Posting Permissions

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