Importing enhanced metafiles from Excel to PowerPoint

Zgryd

New Member
Joined
Feb 4, 2014
Messages
1
Hi!

I'm a newby to VBA, but I have to write a macre that will import images from an Excel file to a PowePoint presentation.
Excel 2010, Windows 7

So for now I have:
Sub import()
Dim eXL As Excel.Application
Dim eWB As Excel.Workbook
Dim eSH As Excel.Worksheet


Set eXL = CreateObject("Excel.Application")
eXL.Workbooks.Open "C:\PP\Book1.xlsm"
eXL.Visible = True

eXL.Quit
End Sub

The problem is that I have no idea how to choose the right picture from the right worksheet and paste it to PowePoint.
By deafault all the images are stored in Sheet3, due to other reason it cannot be chaneged.

Regards
Zgryd
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().

Forum statistics

Threads
1,215,261
Messages
6,123,943
Members
449,134
Latest member
NickWBA

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top