+ Reply to Thread
Results 1 to 6 of 6

Command Button to clear specific cells

  1. #1
    Registered User
    Join Date
    08-17-2014
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2010
    Posts
    27

    Command Button to clear specific cells

    Hi. I am creating a quiz for a foreign language and I have a command button which is set to randomly pick a specific word from a list in another sheet. I also have 3 dependent drop down lists linked together. So that when I select something in the 1st drop down list, what I have selected will affect what appears in the 2nd. And what I select in the 2nd drop down list will affect what appears in the 3rd. And if I select the correct options in those 3 drop down lists, the answer for that foreign word will appear in the following cell as either "correct" or "wrong". Then when I click the command button to generate a new word, the word gets changed, but the options I previously selected in the drop down lists still remains. What I am trying to achieve is that when I click the button to generate a new word, those drop down lists clear, ready for me to evaluate the next word. But I don't know how I would change the VBA code accordingly. Any one have an idea?

  2. #2
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Command Button to clear specific cells

    can you post your code and maybe a sample of your workbook?

  3. #3
    Registered User
    Join Date
    08-17-2014
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Command Button to clear specific cells

    Yeh Sure.

    Please Login or Register  to view this content.
    Hebrew Verb Generator.xlsm

  4. #4
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Command Button to clear specific cells

    Here I hope this helps.

    Please Login or Register  to view this content.
    Thanks

  5. #5
    Registered User
    Join Date
    08-17-2014
    Location
    NSW, Australia
    MS-Off Ver
    Excel 2010
    Posts
    27

    Re: Command Button to clear specific cells

    Well Done! You are a champion. Thanks heaps mate!

  6. #6
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Command Button to clear specific cells

    I am glad I was able to help.

+ 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 the Specific Range of Cells Using a Command Button
    By Abinaya in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-02-2014, 05:50 AM
  2. Using two form combobox selections to jump to specific cells using command button
    By bberger1985 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-30-2013, 05:52 PM
  3. How to create a command button to send specific cells out of an excel sheet..
    By meltelawi in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-22-2013, 05:25 PM
  4. Command Button - Clear
    By grkchakri in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2012, 12:39 AM
  5. command button that puts specific numbers in a range of cells
    By ko6ad in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-28-2006, 01:41 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