+ Reply to Thread
Results 1 to 3 of 3

Selecting textbox by default with insertion point, instead of cmd button

  1. #1
    Forum Contributor
    Join Date
    06-20-2021
    Location
    UK
    MS-Off Ver
    2016
    Posts
    126

    Selecting textbox by default with insertion point, instead of cmd button

    When I start my macro, it selects top button "Select folder to save" instead of text box.
    Deafult.png

    Instead, how do I make insertion point the first thing selected when starting the userform? Note, I have selected textbox manually in this image, which is the expected outcome that I require.
    AppearBlinker.png

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent SAC
    Posts
    8,885

    Re: Selecting textbox by default with insertion point, instead of cmd button

    Make the textbox the first item in the tab order by setting its Tabindex property to 0.
    Rory

  3. #3
    Forum Contributor
    Join Date
    06-20-2021
    Location
    UK
    MS-Off Ver
    2016
    Posts
    126

    Re: Selecting textbox by default with insertion point, instead of cmd button

    Quote Originally Posted by rorya View Post
    Make the textbox the first item in the tab order by setting its Tabindex property to 0.
    Thanks, helped.

+ 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. How to find insertion point to maintain alphabetic order
    By sumdumgai in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-20-2021, 01:32 PM
  2. Maths behind rotating rectangle around start point instead of default center point
    By Stanley91 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-08-2014, 11:01 AM
  3. Insertion Point Color
    By vba-lover in forum Excel General
    Replies: 0
    Last Post: 09-09-2011, 06:45 AM
  4. [SOLVED] Set Insertion Point?
    By egavasrg in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-28-2011, 04:35 PM
  5. Move the insertion point in Word with VBA - How
    By barryleajo in forum Word Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2010, 06:49 AM
  6. causing macros to run at insertion point
    By Inobugs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-01-2006, 02:25 AM
  7. row insertion and formatting default
    By brianTmcnamara in forum Excel General
    Replies: 1
    Last Post: 01-09-2006, 06:35 PM

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