+ Reply to Thread
Results 1 to 4 of 4

How to bind CTRL-ENTER to my UserForm's submit button?

Hybrid View

thornomad How to bind CTRL-ENTER to my... 06-28-2010, 08:29 AM
davesexcel Re: How to bind CTRL-ENTER to... 06-28-2010, 08:48 AM
romperstomper Re: How to bind CTRL-ENTER to... 06-28-2010, 08:51 AM
thornomad Re: How to bind CTRL-ENTER to... 06-28-2010, 01:28 PM
  1. #1
    Registered User
    Join Date
    06-14-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Question How to bind CTRL-ENTER to my UserForm's submit button?

    I have a UserForm and on it is a "submit" button. I would like to bind CTRL-ENTER to the submit button (so a user can submit the form without having to tab all the way to the "submit" button each time).

    How would I do that?

    Thanks!
    Damon

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,523

    Re: How to bind CTRL-ENTER to my UserForm's submit button?

    Are you making a selection before you show the userform example:
        Selection = "=6*8+RC[1]"

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,980

    Re: How to bind CTRL-ENTER to my UserForm's submit button?

    If you set the button's Default property to True, then you can just press Enter to fire it.
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Registered User
    Join Date
    06-14-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: How to bind CTRL-ENTER to my UserForm's submit button?

    Quote Originally Posted by romperstomper View Post
    If you set the button's Default property to True, then you can just press Enter to fire it.
    Oh - perfect, that was just what I was looking for. Works like a charm.

    Are you making a selection before you show the userform example:
    No - I wasn't. But, the second suggestion works! Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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