Closed Thread
Results 1 to 7 of 7

Double Click Button

Hybrid View

  1. #1
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208

    Re: Double Click Button

    Here is another option fo ryou. If you want the cell you are double-clicking to say "Correct!" by double-clicking on it, try this:

    - right-click on the sheet tab and select view code
    - copy the following code to the VBA window:

    Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
        Target = "Correct!"
    End Sub
    HTH,
    Jason

  2. #2
    Registered User
    Join Date
    06-02-2010
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Double Click Button

    Thanks for both suggestions. The Active X route is the way I think I'll go. I want the button to remain saying 'Double Click Here!' while the cell immediately to the right displays correct or maybe a smiley.

    I didn't try Active X before. I had encountered that code in the help file but didn't connect it to Active X. I knew there had to be a more 'native' way to do it. I should be good now. I'll report back with results.

  3. #3
    Registered User
    Join Date
    06-02-2010
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Double Click Button

    Thanks again! The Active X button worked out great! I haven't used the Control Toolbox Toolbar at all yet. It was a good little adventure. Once I figured out how to toggle design mode, it was super easy as promised.

    I teach in a computer lab that pulls students from various Adult Education classes (ESL and GED). This little button will be part of a self-grading mousing and typing test that will condense two separate documents used each twice a semester each 12 weeks with 150-200 students. Each year that's 4 x 2 x 175 tests I don't need to grade or print out hard copies for. This will save me hours and hours of work. The bonus for studens is instant feedback about the correctness of their actions. They will KNOW when they have it right. This makes them much more determined and dramatically improves their engagement and retention. Your little help goes a long way.

    One more super thanks!

Closed Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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