+ Reply to Thread
Results 1 to 3 of 3

Cursor jumps to other sheets upon cmd button entry

  1. #1
    Registered User
    Join Date
    08-27-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    20

    Cursor jumps to other sheets upon cmd button entry

    Hi

    The below code on userform in sheet1 when data is copied over to sheet2, form resets correctly but when copying over to sheet 3 and 4, the cursor jumps over to the respective sheet3/4 worksheet. The function of copying over performs correctly How can i prevent the cursor from jumping over and remain on userform in sheet1

    Please Login or Register  to view this content.

  2. #2
    Forum Expert sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2016 | 2019
    Posts
    13,210

    Re: Cursor jumps to other sheets upon cmd button entry

    Remove this snippet...
    Please Login or Register  to view this content.
    One should never have to use Activate or Select in code...
    Lot of skip and error code there...May I ask why?
    Last edited by sintek; 09-23-2020 at 12:46 PM.
    Good Luck
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the star to left of post [Add Reputation]
    Also....add a comment if you like!!!!
    And remember...Mark Thread as Solved.
    Excel Forum Rocks!!!

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Cursor jumps to other sheets upon cmd button entry

    This is part of the existing code:

    Please Login or Register  to view this content.

    Replace that with:

    Please Login or Register  to view this content.
    My General Rules if you want my help. Not aimed at any person in particular:

    1. Please Make Requests not demands, none of us get paid here.

    2. Check back on your post regularly. I will not return to a post after 4 days.
    If it is not important to you then it definitely is not important to me.

+ 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. Button click calls a module then jumps to a specific line or label
    By mjfox75 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-28-2020, 11:55 AM
  2. [SOLVED] Tab cursor jumps to new page in one row
    By survivo in forum Excel General
    Replies: 0
    Last Post: 02-06-2015, 08:32 PM
  3. Barcode Scanner - The cursor jumps a row in a Microsoft Excel worksheet.
    By Looser008 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-16-2014, 10:37 PM
  4. [SOLVED] Cursor Jumps to top of Outlook 2007 Email Message
    By Webtekr in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 03-03-2009, 03:14 AM
  5. Replies: 3
    Last Post: 06-07-2005, 06:12 AM
  6. Button Control Jumps Around
    By AK in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-10-2005, 10:06 PM

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