Hi All,
Great site. Been using it for years.
I'm able to paste charts to Powerpoint (using info from another thread). My problem is that I don't want the embed Excel in the power point. Can someone show how to do the paste in an Enhanced Metafile format? Also, how would I paste tables too in the enhanced Metafile format? Thanks in advance for your support.
Here's the core instructions I'm using right now:
Sheets("Op_Graphs").Select
'Create a Microsoft PowerPoint session
Set ppt = CreateObject("powerpoint.application")
'Copy the charts
ActiveSheet.ChartObjects(1).Copy
'Make PowerPoint visible
ppt.Visible = True
'Activate PowerPoint
AppActivate ppt.Name
'Open a new document in Microsoft PowerPoint for first iteration only
Set pres = ppt.Presentations.Add
'Add a slide
pres.Slides.Add 1, ppLayoutBlank
'Paste the chart
ppt.ActiveWindow.View.Paste
Regards,
CWren
Great site. Been using it for years.
I'm able to paste charts to Powerpoint (using info from another thread). My problem is that I don't want the embed Excel in the power point. Can someone show how to do the paste in an Enhanced Metafile format? Also, how would I paste tables too in the enhanced Metafile format? Thanks in advance for your support.
Here's the core instructions I'm using right now:
Sheets("Op_Graphs").Select
'Create a Microsoft PowerPoint session
Set ppt = CreateObject("powerpoint.application")
'Copy the charts
ActiveSheet.ChartObjects(1).Copy
'Make PowerPoint visible
ppt.Visible = True
'Activate PowerPoint
AppActivate ppt.Name
'Open a new document in Microsoft PowerPoint for first iteration only
Set pres = ppt.Presentations.Add
'Add a slide
pres.Slides.Add 1, ppLayoutBlank
'Paste the chart
ppt.ActiveWindow.View.Paste
Regards,
CWren