+ Reply to Thread
Results 1 to 2 of 2

(Urgent Req) VBA code required to select a sheet just before a active sheet

  1. #1
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Thumbs up (Urgent Req) VBA code required to select a sheet just before a active sheet

    Dear all,
    I need VBA code to select a sheet just before the current active sheet.
    Example: I have some 20 sheets in a workbook. If my current active sheet is 11, it must select 10. If current active sheet is 5, it must select 4 and so on....
    Appreciate your fast response.
    Thanks in advance.

  2. #2
    Forum Expert Arkadi's Avatar
    Join Date
    02-13-2014
    Location
    Smiths Falls, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    5,059

    Re: (Urgent Req) VBA code required to select a sheet just before a active sheet

    Try:

    Please Login or Register  to view this content.
    Please help by:

    Marking threads as closed once your issue is resolved. How? The Thread Tools at the top
    Any reputation (*) points appreciated. Not just by me, but by all those helping, so if you found someone's input useful, please take a second to click the * at the bottom left to let them know

    There are 10 kinds of people in this world... those who understand binary, and those who don't.

+ 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. [SOLVED] Run vba code, try to type on active sheet, it puts on different sheet
    By cheeze83 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-22-2014, 09:51 AM
  2. [SOLVED] Active sheet shifts back to original sheet when executing code
    By pcdog in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 10-22-2012, 11:07 AM
  3. Replies: 3
    Last Post: 10-11-2012, 10:35 PM
  4. [SOLVED] How to get (range)macro to always run code on a specific sheet regardless of active sheet?
    By JTwrk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-18-2012, 04:33 PM
  5. Code to Select Current Active Sheet
    By JosueDG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-14-2011, 02:50 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