Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PowerPoint VBA copy problem

Status
Not open for further replies.

robcarr

Programmer
May 15, 2002
633
GB
Hi,

I am trying to copy a range of cells in an excel sheet, the range contains data and charts.

Code:
Windows(wrname).Activate
Sheets("sheet1").Activate
Range("a1:w46").Select
Range("a1:w46").CopyPicture XlPictureAppearance.xlScreen, XlCopyPictureFormat.xlPicture
AppActivate ppt.Name
pres.Slides(2).Select
ppt.ActiveWindow.View.Paste

all the data is within the range selected.

when pasted into PowerPoint all the right hand data is missing from column P to W.

I have tried changing to printer apperance etc, but with no luck.

Any ideas.

Hope this is of use, Rob.[yoda]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top