Inserting the Power Point template in the Macro

saraf

New Member
Joined
Apr 22, 2011
Messages
7
Hi All,

I am trying to export the Excel contents into a Power point with a macro.Can I insert the ppt template in the macro so that every time I run the macro it shud automatically use that template but no the default or is there any way to define the layout of the template in the macro which prepares the template on the fly and inserts the excel contents when I run the macro.

Thanks,
Saraf
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Really simple starter, go Tools->References and click the checkbox next to Powerpoint... then Dim a new powerpoint document (whatever the object name is) to get intellisense working and show you various methods available to new powerpoint documents.
 
Upvote 0
Hi Glory,

Thank you very much, I have added the Power point in the references.
can you pls provide me the line to insert into my code as I am new to VB.


Saraf
 
Upvote 0
Try checking here. I've never worked with Powerpoint using VBA. I wouldn't worry about the template if I were you. I'd just worry about creating a new document, saving it as a PPT file, and adding items/slides.
 
Upvote 0

Forum statistics

Threads
1,224,514
Messages
6,179,220
Members
452,895
Latest member
BILLING GUY

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