+ Reply to Thread
Results 1 to 5 of 5

How to get embedded text boxes and buttons to use the tab key?

  1. #1
    evilrtc
    Guest

    How to get embedded text boxes and buttons to use the tab key?

    When you're normally using windows applications you can tab and shift-tab between fields of entry. I'd like my embedded userform to do this in my spreadsheet. When I create a userform on its own and run it as a macro the tabs work fine but the embedded in the spreadsheet version does not work.

    Any help would be much appreciated!

  2. #2
    Forum Contributor
    Join Date
    09-04-2006
    Location
    Yorkshire, England
    Posts
    267
    Have you tried setting the Tab Index in the properties menu?
    Select what you want to tab to in the VBA editor and have a look in the properties menu and you will see its default is 0.
    JR
    Versions
    Mac OS X 'Leopard'
    Mac MS Office Excel 2004
    Windows XP
    MS Excel 2002
    MS Excel 2003

  3. #3
    evilrtc
    Guest
    I have not been able to find tabindex under sheet1 properties or under properties for the individual text boxes. Am I looking in the wrong place?

  4. #4
    Forum Contributor
    Join Date
    09-04-2006
    Location
    Yorkshire, England
    Posts
    267
    When you are editing a userform in the vba editor in excel. Just have alook in the properties of your item e.g. textbox

    take a look at the attached
    Attached Files Attached Files

  5. #5
    evilrtc
    Guest
    I knew I was missing something. Right below specialeffect it goes straight to an option of Tab Key Behavior, which when I play around with it it allows usage of the tab key within the text box.

    I don't have tab index or tabstop. I'm using xl 2003.

    I do have access to these features in the userform that I created in vba. I do not have these features in the embedded text boxes that I have added to my worksheet.
    Last edited by evilrtc; 10-11-2006 at 12:09 PM.

+ 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