+ Reply to Thread
Results 1 to 3 of 3

how to select textbox tool via a VB code

  1. #1
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Smile how to select textbox tool via a VB code

    What I'd like to do is be able to press a shortcut key (I know how to set this part up) and have excel select the "text box tool" so I can just click and start typing immediately. Is this possible to do with VB?

    Also, is it possible to have a sub place the cursor in a desired position on the screen (for example 800 pixles to the right and 500 pixels down of the top left corner of the screen? This way, once the textbox tool is selected, I can just click and start typing.

    Thank you.
    Last edited by luv2glyd; 08-14-2010 at 06:51 PM.
    You either quit or become really good at it. There are no other choices.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: how to select textbox tool via a VB code

    Maybe like this

    Please Login or Register  to view this content.
    The first two numbers are for the position of the text box, the second set of two numbers are for the width and height of the text box.

  3. #3
    Valued Forum Contributor luv2glyd's Avatar
    Join Date
    07-13-2008
    Location
    Seattle, WA, US
    MS-Off Ver
    Excel 2010
    Posts
    679

    Re: how to select textbox tool via a VB code

    Great! Exactly what I need. Thank you.

+ 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