+ Reply to Thread
Results 1 to 5 of 5

Userform: Backspace button and Shift key

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    50

    Userform: Backspace button and Shift key

    Good Evening,

    I have a project that requires a keyboard in a userform. I've attached a sample of the userform showing what I have so far.

    I have two issues 1) I do not know how to code the command button for BACKSPACE and 2) I don't know how to code the toggle shift so that when it is pressed(true) the letters selected will be capitalized (uppercase)

    Does anybody have an code suggestions that will work with the code that I have started?

    Thanks in advance,
    Gal403SAMPLE 1.xlsm

  2. #2
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Userform: Backspace button and Shift key

    use the following code for backspace
    HTML Code: 

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Userform: Backspace button and Shift key

    For Backspace

    Please Login or Register  to view this content.
    For changing the Case of Text based on Togglebutton

    Replace your current code of a button with the below one.

    Please Login or Register  to view this content.
    Do it for the rest of the b,c,d buttons based on the above logic


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Valued Forum Contributor
    Join Date
    09-04-2012
    Location
    india
    MS-Off Ver
    Excel 2007
    Posts
    463

    Re: Userform: Backspace button and Shift key

    u can use following code for upper case:

    HTML Code: 
    Hope it is useful to you.

    dont forget to hit * button for user reputation.

    Thanks & Regards
    Mahaveer Somani

  5. #5
    Registered User
    Join Date
    12-03-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    50

    Re: Userform: Backspace button and Shift key

    Thank you both for the quick reply. I'll try both your suggestions.
    Gal403

+ 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] Use Up/Down Arrows as Tab/Shift+Tab in Userform
    By lsteinbach in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2013, 04:54 PM
  2. [SOLVED] shift click on form button
    By vedroks in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-23-2012, 02:05 PM
  3. Enable backspace key in combobox on Userform
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-06-2011, 05:35 PM
  4. Button for Ctrl+Alt+Shift+F9
    By kapilrakh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-13-2009, 06:49 PM
  5. Shift columns each click of the button
    By EMoe in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-29-2005, 06:05 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