Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Want to cycle through PivotCharts and Charts continuasly
I have a worksheet with 2 PivotCharts (in separate worksheets) and two other
charts (again in 2 separate worksheets). I want to write some sample VBA code that runs all the time and simply cycles through these 4 worksheets. Anyone with some sample code? Thanks Michael |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Want to cycle through PivotCharts and Charts continuasly
The solution is
Sub ToogleSheetVisiblity() Dim wsSheet As Worksheet On Error Resume Next 'If code tries to hide all Sheets For Each wsSheet In Worksheets wsSheet.Visible = Not wsSheet.Visible Next wsSheet On Error GoTo 0 'One sheet will always be left visible End Sub "Michael" wrote in message ... I have a worksheet with 2 PivotCharts (in separate worksheets) and two other charts (again in 2 separate worksheets). I want to write some sample VBA code that runs all the time and simply cycles through these 4 worksheets. Anyone with some sample code? Thanks Michael |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How do I make a graph with 2-cycle X 3-cycle log-log graph paper? | Charts and Charting in Excel | |||
PivotCharts and series order | Charts and Charting in Excel | |||
How do I keep result from 1 iteration cycle to use in next cycle? | Excel Discussion (Misc queries) | |||
Having an issue with some pivotcharts? | Charts and Charting in Excel | |||
PivotCharts, PivotTables, I'm going insane | Charts and Charting in Excel |