+ Reply to Thread
Results 1 to 5 of 5

Reset drop down list to first entry

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    39

    Reset drop down list to first entry

    Hi,

    I am trying to reset various (data validation) drop down lists in a the dummy worksheet attached. Most of the code i have come across clears the cells completely, however i would like it to return to the 'select' option (first on the list) in the list.

    I have come across this code, but it does not seem to work:

    Please Login or Register  to view this content.
    I want the clearing code to run from the command button in the 'instructions' tab to clear the drop down lists in the '1. Inputs' tab.

    Your assistance will be much appreciated.
    Attached Files Attached Files
    Last edited by a-man; 02-18-2014 at 04:04 AM.

  2. #2
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Reset drop down list to first entry

    Hi, a-man,

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  3. #3
    Registered User
    Join Date
    12-17-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Reset drop down list to first entry

    Fixed the original post.

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Reset drop down list to first entry

    Hi, a-man,

    thanks

    What about
    Please Login or Register  to view this content.
    And maybe change the code behind Sheet 1. Inputs to read
    Please Login or Register  to view this content.
    Ciao,
    Holger

  5. #5
    Registered User
    Join Date
    12-17-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2010
    Posts
    39

    Re: Reset drop down list to first entry

    Thank you for your quick response. I used both of your suggestions.

    Regards
    A

+ 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. [SOLVED] Reset Drop Lists When Click on first list
    By work4nutz in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-29-2013, 02:43 PM
  2. Replies: 0
    Last Post: 04-15-2013, 09:22 AM
  3. Replies: 0
    Last Post: 10-06-2011, 07:03 AM
  4. How to reset all controls (Drop Down list on a sheet)
    By tariq in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2007, 08:06 AM
  5. Drop Down List Titles As Default And Reset Button
    By travelersway in forum Excel General
    Replies: 0
    Last Post: 10-17-2005, 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