ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   macro open tabs (https://www.excelbanter.com/excel-programming/442493-macro-open-tabs.html)

JOSEPH WEBER

macro open tabs
 
can i have a Macro that opens each tab and displays it for a number of
seconds then opens the next tab and does the same thing until the last tab?
Can this be without specifying tab names?

Mike H

macro open tabs
 
Hi,

This will show each sheet for 5 seconds

Sub ShowSheets()
For x = 1 To Worksheets.Count
Sheets(x).Activate
Application.Wait (Now + TimeValue("0:00:5"))
Next
End Sub
--
Mike

When competing hypotheses are otherwise equal, adopt the hypothesis that
introduces the fewest assumptions while still sufficiently answering the
question.


"JOSEPH WEBER" wrote:

can i have a Macro that opens each tab and displays it for a number of
seconds then opens the next tab and does the same thing until the last tab?
Can this be without specifying tab names?


JLGWhiz[_2_]

macro open tabs
 
Sub dk()

For Each sh In ActiveWorkbook.Sheets
sh.Select
s = Timer + 2
Do While Timer < s
DoEvents
Loop
Sheets(1).Select
Next
End Sub




"JOSEPH WEBER" wrote in message
...
can i have a Macro that opens each tab and displays it for a number of
seconds then opens the next tab and does the same thing until the last
tab?
Can this be without specifying tab names?





All times are GMT +1. The time now is 10:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com