+ Reply to Thread
Results 1 to 7 of 7

Want to switch between sheet's automatic.

  1. #1
    Registered User
    Join Date
    02-10-2013
    Location
    Norway
    MS-Off Ver
    Office 2010
    Posts
    6

    Want to switch between sheet's automatic.

    I want this macro to switch between sheet's with a time interval between each sheet and shall go in loop.

    Please Login or Register  to view this content.
    Last edited by arlu1201; 02-18-2013 at 06:09 AM. Reason: Use code tags.

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

    Re: Want to switch between sheet's automatic.

    Hi Ovega,

    Try this - you may want to play with the delay:

    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

  3. #3
    Valued Forum Contributor
    Join Date
    06-23-2010
    Location
    North West
    MS-Off Ver
    office 2010
    Posts
    355

    Re: Want to switch between sheet's automatic.

    Thank you for providung this code, If I change the 1,2, or 3, is that what controls the timing?
    I have just used it and worked (as it is aboove) from a button and it is very clever, Could it work automatically when the workbook is opened?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Want to switch between sheet's automatic.

    Ovega,

    Welcome to the forum.

    I have added code tags to your post. As per forum rule 3, you need to use them whenever you put any code in your post. Please add them in future. If you need more information on how to use them, check my signature below this post.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

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

    Re: Want to switch between sheet's automatic.

    Yes, the timing is controlled by the 1,2,3. Yes, it could be called with the Workbook_Open event:

    Please Login or Register  to view this content.

  6. #6
    Valued Forum Contributor
    Join Date
    06-23-2010
    Location
    North West
    MS-Off Ver
    office 2010
    Posts
    355

    Re: Want to switch between sheet's automatic.

    xladept - exellent, thanks for the advice and code, that's solved it for me but original poster needs to mark it as solved

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

    Re: Want to switch between sheet's automatic.

    You're welcome!

+ 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