Name
chart
.ShowWindow [= setting
]
Synopsis
For embedded charts, copies an image of the chart to its own window in Excel. ShowWindow
seems to work only if the embedded chart is activated as shown by this code:
Sub ChartWindow( ) Worksheets("Wizard").Activate ActiveSheet.ChartObjects(1).Activate ActiveChart.ShowWindow = True End Sub
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.