Article ID: 117225
Article Last Modified on 6/11/2007
Sub PrintEmbeddedCharts()
Dim ChartList As Integer
Dim X As Integer
' Variable chartlist stores a count of all embedded charts.
ChartList = ActiveSheet.ChartObjects.Count
' Increments the counter variable 'X' in a loop.
For X = 1 To ChartList
' Selects the chart object.
ActiveSheet.ChartObjects(X).Select
' Makes chart active.
ActiveSheet.ChartObjects(X).Activate
' Prints one copy of active chart.
ActiveChart.PrintOut Copies:=1
Next
End Sub
Additional query words: 5.00a 5.00c 8.00 XL98 XL97 XL7 XL5 XL
Keywords: kbdtacode kbhowto kbprogramming KB117225