LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Cut and Paste Wide Spreadsheet in Powerpoint, spreadsheet gets cut off

I have a wide spreadsheet that I need to paste into powerpoint from
excel. I have read about the limitations but thought this was fixed
in Office 2002. Below is my code any help would be greatly
appreciated.

'Launch Powerpoint
Set ppt = CreateObject("PowerPoint.Application")
'Make visible
ppt.Visible = msoTrue
'Insert New Presentation
Set pst = ppt.Presentations.Add
Set ppApp = GetObject(, "Powerpoint.Application.10")

' Reference active presentation
Set PPPres = ppApp.ActivePresentation

ppApp.ActiveWindow.ViewType = ppViewSlide

'-- some processing
Worksheets(ws.Name).Range(strRange).CopyPicture
Appearance:=xlScreen, _
Format:=xlBitmap

ppApp.ActivePresentation.Slides(iSlides).Shapes.Pa ste

ppApp.ActivePresentation.Slides(iSlides).Shapes.Ra nge.Top = 10
ppApp.ActivePresentation.Slides(iSlides).Shapes.Ra nge.Left = 10

ppApp.ActivePresentation.Slides(iSlides).Shapes.Ra nge.ScaleWidth
dScale, True
ppApp.ActivePresentation.Slides(iSlides).Shapes.Ra nge.ScaleHeight
dScale, True

ppApp.ActivePresentation.Slides(iSlides).Shapes.Ra nge.Align
msoAlignCenters, _
True
 
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
Update Excel spreadsheet with Powerpoint Data Wi11y13 Excel Discussion (Misc queries) 1 September 14th 09 09:29 PM
Hyperlink an excel spreadsheet to a specific Powerpoint slide Maxine Excel Worksheet Functions 0 July 18th 08 04:01 PM
Very Wide Spreadsheet Kristine Excel Discussion (Misc queries) 1 December 19th 07 01:32 PM
How to convert an excel spreadsheet into a Powerpoint page? Sara Excel Worksheet Functions 1 January 12th 06 08:16 PM
Link from an Excel spreadsheet to a specific slide in PowerPoint VAB Charlie Excel Discussion (Misc queries) 1 February 22nd 05 10:31 PM


All times are GMT +1. The time now is 10:34 AM.

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

About Us

"It's about Microsoft Excel"