+ Reply to Thread
Results 1 to 4 of 4

Using Command Buttons to Move Cursor

  1. #1
    Registered User
    Join Date
    10-20-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Using Command Buttons to Move Cursor

    In my workbook I have a list of hyper links to different areas on the same sheet, I have inserted a floating command button and would like it to return the cursor to the top of the hyperlink list when clicked on. I have little experience with VBA and would appreciate any help that could be provided.

    Thanks.
    Last edited by Tobre; 10-20-2010 at 03:29 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Using Command Buttons to Move Cursor

    Hello Tobre,

    Welcome to the Forum!

    The code below will place "Z30" in the top left corner. Change this to the cell you will be using.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    10-20-2010
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Using Command Buttons to Move Cursor

    That is a great trick.

    Thanks for the help.

  4. #4
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: Using Command Buttons to Move Cursor

    or use Excel's buitlin facility:

    Please Login or Register  to view this content.



+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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