How to copy and paste an embedded object to a folder?

prerit86

New Member
Joined
Jun 3, 2014
Messages
8
How do I copy an embedded object form Excel file to a specified folder? I have worked it out till copying.

Thanks in advance!

Code:
<code style="margin: 0px; padding: 0px; border: 0px; vertical-align: baseline; font-family: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Courier New', monospace, serif; white-space: inherit; background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;">[COLOR=#00008B]Sub[/COLOR] temp()
[COLOR=#00008B]Dim[/COLOR] cal [COLOR=#00008B]As[/COLOR] [COLOR=#00008B]Object[/COLOR][COLOR=#00008B]Set[/COLOR] 
cal = Sheet6.OLEObjects([COLOR=#800000]1[/COLOR])
[COLOR=#00008B]Dim[/COLOR] savepath [COLOR=#00008B]As[/COLOR] [COLOR=#00008B]String
[/COLOR]savpath = ThisWorkbook.path & [COLOR=#800000]"\"
[/COLOR][COLOR=#808080]'Paste code here----
[/COLOR][COLOR=#00008B]End[/COLOR] [COLOR=#00008B]Sub
[/COLOR]</code>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December

Forum statistics

Threads
1,223,234
Messages
6,170,891
Members
452,366
Latest member
TePunaBloke

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