+ Reply to Thread
Results 1 to 3 of 3

Select spreadsheet after Contro Button clicked

  1. #1
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Select spreadsheet after Contro Button clicked

    I have a series of control buttons which perform various tasks. After the user clicks a button the cursor remains on the button. Therefore if you start typing nothing happens on the spreadsheet.
    The user has to use the mouse to click back on the spreadsheet to start typing.

    Is there a way to finish the macro so the cursor finishes back where it was before the button was clicked?

    Thank you.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,641

    Re: Select spreadsheet after Contro Button clicked

    Hi there,

    Try using:

    Please Login or Register  to view this content.
    Hope this helps - please let me know how you get on.

    Regards,

    Greg M

  3. #3
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Lightbulb Re: Select spreadsheet after Contro Button clicked


    Hi !

    Try this :

    PHP Code: 
        ActiveWindow.RangeSelection.Select 
    Do you like it ? So thanks to click on bottom left star icon « Add Reputation » !

+ 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. If button clicked more than once a day
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-21-2015, 08:34 PM
  2. Create button on spreadsheet when clicked record date stamp in the next column
    By HBHB in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-02-2013, 06:52 PM
  3. [SOLVED] Select column A's cell in relation to the row that macro button was clicked on?
    By xlyfe in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2013, 12:24 PM
  4. Modifying a Macro Button to time stamp when the button was clicked.
    By jonvanwyk in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-22-2010, 04:46 PM
  5. Button Text Gets Smaller When Button Clicked On
    By googlebot in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-06-2009, 02:37 PM
  6. Button Clicked
    By boylejob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-22-2007, 06:33 PM
  7. Do until button clicked
    By kaiser in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-31-2005, 08:05 AM

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