Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default copy excel named ranges to powerpoint as pict with VBA

I have search several site for a couple of days and have not come up with the
code.

Does any one have the code?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default copy excel named ranges to powerpoint as pict with VBA

I wrote a web page about working with PowerPoint and Excel:

http://peltiertech.com/Excel/XL_PPT.html

This example on the page has, I think, what you want:

http://peltiertech.com/Excel/XL_PPT.html#rangeppt

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Jeff" wrote in message
...
I have search several site for a couple of days and have not come up with
the
code.

Does any one have the code?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default copy excel named ranges to powerpoint as pict with VBA


Thanks I used your site and others to do what I need to do. but--
I have not been able to paste as a Picture I only get a table.
This is my copy code and past code:

PPApp.Visible = msoTrue
Sheets("seac summary").Range("monthtomonth").Select
Set PPSlide = PPApp.ActiveWindow.View.slide
Selection.Copy

PPSlide.Shapes.PasteSpecial(ppPasteMetafilePicture ).Select

all help will be appreciated.




"Jon Peltier" wrote:

I wrote a web page about working with PowerPoint and Excel:

http://peltiertech.com/Excel/XL_PPT.html

This example on the page has, I think, what you want:

http://peltiertech.com/Excel/XL_PPT.html#rangeppt

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Jeff" wrote in message
...
I have search several site for a couple of days and have not come up with
the
code.

Does any one have the code?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default copy excel named ranges to powerpoint as pict with VBA

The example I provided copied the range as a picture, so regular pasting
would paste as a picture.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Jeff" wrote in message
...

Thanks I used your site and others to do what I need to do. but--
I have not been able to paste as a Picture I only get a table.
This is my copy code and past code:

PPApp.Visible = msoTrue
Sheets("seac summary").Range("monthtomonth").Select
Set PPSlide = PPApp.ActiveWindow.View.slide
Selection.Copy

PPSlide.Shapes.PasteSpecial(ppPasteMetafilePicture ).Select

all help will be appreciated.




"Jon Peltier" wrote:

I wrote a web page about working with PowerPoint and Excel:

http://peltiertech.com/Excel/XL_PPT.html

This example on the page has, I think, what you want:

http://peltiertech.com/Excel/XL_PPT.html#rangeppt

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Jeff" wrote in message
...
I have search several site for a couple of days and have not come up
with
the
code.

Does any one have the code?






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default copy excel named ranges to powerpoint as pict with VBA

Hi Jon - Thx for your website, i've found it very useful...the code seems to
work when i select less number of cell but if i try n select a slightly
larger area i get this runtime error...

"Excel cannot complete task with available resources, use lessd ata or close
other applications"

is there a way to avoid this ?

"Jon Peltier" wrote:

The example I provided copied the range as a picture, so regular pasting
would paste as a picture.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Jeff" wrote in message
...

Thanks I used your site and others to do what I need to do. but--
I have not been able to paste as a Picture I only get a table.
This is my copy code and past code:

PPApp.Visible = msoTrue
Sheets("seac summary").Range("monthtomonth").Select
Set PPSlide = PPApp.ActiveWindow.View.slide
Selection.Copy

PPSlide.Shapes.PasteSpecial(ppPasteMetafilePicture ).Select

all help will be appreciated.




"Jon Peltier" wrote:

I wrote a web page about working with PowerPoint and Excel:

http://peltiertech.com/Excel/XL_PPT.html

This example on the page has, I think, what you want:

http://peltiertech.com/Excel/XL_PPT.html#rangeppt

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"Jeff" wrote in message
...
I have search several site for a couple of days and have not come up
with
the
code.

Does any one have the code?








Reply
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
Named ranges scope / workbook/worksheet level named ranges- changeswith variable use... christian_spaceman Excel Programming 3 December 24th 07 01:15 PM
Copy and paste Named Ranges Robert H Excel Programming 6 February 6th 07 04:13 PM
How do I copy a group of worksheets with named ranges in Excel 200 sc Excel Worksheet Functions 2 September 26th 06 12:16 AM
Copy data in named ranges to a newer version of the same template to identical ranges handstand Excel Programming 0 August 21st 06 03:51 PM
copy named range to powerpoint confused Excel Worksheet Functions 1 October 17th 05 03:23 PM


All times are GMT +1. The time now is 12:36 AM.

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

About Us

"It's about Microsoft Excel"