+ Reply to Thread
Results 1 to 9 of 9

Data validation, drop-down box

  1. #1
    ahanmagey
    Guest

    Data validation, drop-down box

    I want to do couple of things here.
    1. put an empty field in a drop down box. If possible the empty field should be at the top from the drop down menu.
    2. Update names in drop down box when I add names to the list

    Thanks in advance
    Attached Files Attached Files
    Last edited by ahanmagey; 10-11-2008 at 04:37 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Please use the correct Forum, this is not a programming question

    You need to convert the data list source to a Dynamic Named Range then the validation will update as you add to the list.

    I can't see why you want an empty field in the list.
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    For help with Named Ranges see

    http://www.cpearson.com/excel/named.htm

  4. #4
    ahanmagey
    Guest
    Quote Originally Posted by royUK View Post
    Please use the correct Forum, this is not a programming question

    You need to convert the data list source to a Dynamic Named Range then the validation will update as you add to the list.

    I can't see why you want an empty field in the list.
    i am trying to do what you have said.
    Why i want an empty cell??? lets say the sheet is a shoping list, one day the buyer did not want to buy any fruit so there should be no fruits selected. I know we can just press "delete" on fruits cell to empty it. This way i can manage BUT dear other guys who will use the sheet are ...... better not to say. They no nothing about excel or anything. So i have to make everything USERFRIENDLY and design in a way that NO MISTAKES can be done.

    kind regards

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    To create the empty space at the top of your list, just use the spacebar in your first cell of your list. Unfortunately, if people are updating the data validation cell from previous use, the dropdown opens up to the last use (see attachment). I think I've seen some VBA solutions in this forum that fix that problem if it's an issue.
    design in a way that NO MISTAKES can be done.
    Now, that's the funniest thing I've heard all day. I have worked to minimize mistakes but as they say, "make something idiot proof and they'll just build a better idiot."
    Attached Files Attached Files
    Last edited by ChemistB; 10-06-2008 at 11:43 AM. Reason: Added attachment
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  6. #6
    ahanmagey
    Guest
    Quote Originally Posted by ChemistB View Post
    Now, that's the funniest thing I've heard all day. I have worked to minimize mistakes but as they say, "make something idiot proof and they'll just build a better idiot."
    Hehehe i think u r right. i am realy ..**ed now, after thinking for such a long time about how to solve thses probs. But what to do my dear, the people working with me even deletes the simple SUM function by manually calculating the amount and writng it on the cell where the formula "SUM" is. Dats a big headach for me, correcting all those stuff again and again. Hahhhhh. anyway thanks for the help

  7. #7
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    You can protect your formulas by protecting your spreadsheet. First go through and "unlock" any cells where you want them to input data and then lock the spreadsheet. That will save a lot of headaches.

  8. #8
    ahanmagey
    Guest
    Quote Originally Posted by ChemistB View Post
    You can protect your formulas by protecting your spreadsheet. First go through and "unlock" any cells where you want them to input data and then lock the spreadsheet. That will save a lot of headaches.
    What have you done to your list that makes it to update in drop down menu as you add names to the fruit list. Tell me in some details. ok . Thanks in advance.

  9. #9
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    I set up a dynamic named range. These guys can probably explain it better than I can.

    http://www.contextures.com/xlNames01.html#Dynamic

+ 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. Clear data in cells with validation
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 07-25-2008, 10:25 AM
  2. How can I speed up this slow macro?
    By rs2k in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2008, 08:34 PM
  3. Data Validation Dependence
    By kowell in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-20-2007, 02:52 PM
  4. Disapearing Data Validation!
    By jbowman18 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-13-2007, 03:27 PM
  5. Data Validation
    By rkrause in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-08-2007, 04:43 AM

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