Closed Thread
Results 1 to 3 of 3

return back to current page after routine

  1. #1
    Forum Contributor
    Join Date
    01-18-2016
    Location
    OBX NC
    MS-Off Ver
    Office 2013
    Posts
    153

    return back to current page after routine

    I wrote my first routine from tips I learned from here. After a couple of hours getting all good. I am hoping you can assist with what I am trying to do right before the end sub.

    Routine (macro) runs across 2 sheets, all is fine. Routine doesn't select any cells on either page.

    What I need is to have page activated and cell A74 selected, depending on what page the routine is run from.

    For ex. if routine is called from sheet 1 - obviously the cursor is still on sheet1 - I need it to return to sheet 1 a74 else return to sheet2 a74 if routine ran from there..

    Any ideas?


    Thanks guys, you are the best!
    Jack

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

    Re: return back to current page after routine

    Please don't post the same question into different forum areas. I've answered your other question.

  3. #3
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 insider Version 2507 Win 11
    Posts
    24,921

    Re: return back to current page after routine

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] go back to CURRENT page after routine
    By jackf-nc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-04-2016, 09:15 PM
  2. [SOLVED] Need a small routine to assign range name one cell lower then its current location.
    By pglufkin in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 07-14-2014, 10:10 AM
  3. [SOLVED] Vba code to start page numbers from current page (bottom of the pate right side)
    By satputenandkumar0 in forum Word Formatting & General
    Replies: 2
    Last Post: 04-04-2014, 01:09 AM
  4. How to return a value to a sub routine when we close a user form
    By Kvramana in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-21-2013, 06:14 AM
  5. Replies: 11
    Last Post: 12-11-2011, 02:27 PM
  6. Return subroutine value to main routine
    By Mark Heuckeroth in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2010, 04:56 AM
  7. Call another subroutine when current routine ends
    By ST4RCUTTER in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2007, 07:16 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