+ Reply to Thread
Results 1 to 6 of 6

Automatically Move to a Specific Worksheet after Typing in a Specific Cell

  1. #1
    Registered User
    Join Date
    01-27-2009
    Location
    Owen Sound, Ontario
    MS-Off Ver
    Excel 2016
    Posts
    71

    Automatically Move to a Specific Worksheet after Typing in a Specific Cell

    I am not sure if this is even possible but I was wondering if anyone knows of a way to automatically move to a specific worksheet if a cell in another worksheet is populated. I have tried conditional formatting and I am not sure if a formula would work because the cell would be typed in and I am not very familiar with VB. I am attaching the workbook and right now I have a comment in the cells (column E on the Enter Data Worksheet) that says that if data is entered into this cell the "Sales Tab" worksheet must be filled out. I am concerned some may not pay attention to the comment so if there are any other solutions anyone has I appreciate any suggestions.

    Thanks so much
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Automatically Move to a Specific Worksheet after Typing in a Specific Cell

    Hit Alt + F11 to open the VB window, expand Microsoft Excel Objects, double click Sheet1 (Enter Data) and copy and paste the code

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    01-27-2009
    Location
    Owen Sound, Ontario
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Automatically Move to a Specific Worksheet after Typing in a Specific Cell

    You are amazing. Thank you so much. It worked perfectly. I really want to learn VB

  4. #4
    Registered User
    Join Date
    01-27-2009
    Location
    Owen Sound, Ontario
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Automatically Move to a Specific Worksheet after Typing in a Specific Cell

    Sorry to bother you again but there does seem to be one little glitch with this that I just noticed. It does not work when I enter the number 1 or 2. Is that a way I can fix that? I don't want to mess up your code.

  5. #5
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Automatically Move to a Specific Worksheet after Typing in a Specific Cell

    OOps. Remove the S in front of target.rows. It should be target.Row Not target.rows

  6. #6
    Registered User
    Join Date
    01-27-2009
    Location
    Owen Sound, Ontario
    MS-Off Ver
    Excel 2016
    Posts
    71

    Re: Automatically Move to a Specific Worksheet after Typing in a Specific Cell

    Perfect! Thanks again!

+ 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