+ Reply to Thread
Results 1 to 6 of 6

Excel macro - alternating between worksheets just like Crtl tab alternates between workbks

  1. #1
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Excel macro - alternating between worksheets just like Crtl tab alternates between workbks

    Does anyone have an Excel macro that can alternate between worksheets in the same way Ctrl Tab alternates between workbooks?

    Thanks so much,

    Josh

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Excel macro - alternating between worksheets just like Crtl tab alternates between wor

    Please Login or Register  to view this content.
    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

  3. #3
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Excel macro - alternating between worksheets just like Crtl tab alternates between wor

    Sorry I made a mistake. I meant as in how to alternate between two worksheets you are looking at. Equivalent to Ctrl Tab, followed by Ctrl Shift Tab, Followed by Ctrl Tab again, does that make sense? Sorry I was stupid before!

    Josh

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Excel macro - alternating between worksheets just like Crtl tab alternates between wor

    I can envision this only with two separate macros.

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Set each with a different short cut key

  5. #5
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Excel macro - alternating between worksheets just like Crtl tab alternates between wor

    No that still doesn't work unfortunately. It just does the same as ctrl page up and ctrl page down. I need to skip all the worksheets inbetween because I have around 20 worksheets in workbooks and it is time consuming to move between all over them. Thanks,

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Excel macro - alternating between worksheets just like Crtl tab alternates between wor

    If you know the sheet names - you could put this code in the ThisWorkbook module:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. CRTL+D macro (very large amount of rows needed)
    By wlan11g in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-11-2009, 04:04 AM
  2. Named Range that Alternates Rows?
    By BusTeacher in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 11-10-2008, 01:09 AM
  3. macro to shade alternating rows
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-24-2008, 01:39 PM
  4. [SOLVED] Crtl+V Problem in Excel
    By Rebecca Lim in forum Excel General
    Replies: 1
    Last Post: 03-10-2005, 09:06 PM
  5. Show info in linked cells in dif workbks?
    By noclue in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-09-2005, 05: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