#1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Hiding Charts

I have worksheets with multiple charts on them. I would like to be able to
hide all of the charts and call each one up when I need it.
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 235
Default Hiding Charts

One solution is to use VBA:

Assuming your worksheet is named "Sheet1" and one of the charts is named
"Cht1", to hide the chart use this macro:

Sub HideChart()
Worksheets("Sheet1").Shapes("Cht1").Visible = False
End Sub

To show the chart, use this macro:

Sub ShowChart()
Worksheets("Sheet1").Shapes("Cht1").Visible = True
End Sub

--
John Mansfield
http://cellmatrix.net





"curious engineer" wrote:

I have worksheets with multiple charts on them. I would like to be able to
hide all of the charts and call each one up when I need it.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
hiding charts w/o data spence Excel Worksheet Functions 0 March 23rd 06 10:49 PM
hiding zero values in stacked bar charts WSU Cougar Charts and Charting in Excel 3 February 4th 06 08:19 PM
hiding zero values in charts fascal Charts and Charting in Excel 4 December 19th 05 02:17 PM
Hiding 0 values in line charts Teri Charts and Charting in Excel 4 February 22nd 05 12:40 PM
Hiding Zeros in Stacked Bar Charts Darshan72 Charts and Charting in Excel 1 February 3rd 05 10:18 AM


All times are GMT +1. The time now is 11:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"