View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
joel[_479_] joel[_479_] is offline
external usenet poster
 
Posts: 1
Default Problem copying table data as a picture onto chartsheet


My code should work if the sheet names and chart object name is correct.
Yo need to activate the chartobject like I did below then select the
plot area.

With Sheets("ScratchArea")
.Range("A22:B29").CopyPicture Appearance:=xlScreen, _
Format:=xlBitmap

End With

With Sheets("Figure 21C")

.ChartObjects("Chart 1").Activate
ActiveChart.PlotArea.Select
ActiveChart.Paste

End With


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=165045

Microsoft Office Help