Opening PPT from Excel VBA- Office 2003 and 2010 Installed

mlex

New Member
Joined
Jun 15, 2011
Messages
4
Hello,

I have both Office 2003 and Office 2010 installed on my Windows Vista System as different features are needed from each.

The problem is that my macro in Excel 2010 opens PowerPoint 2003 and I can't figure out a way to get it to open PowerPoint 2010.

I'm using this code:
Code:
Dim ppApp As PowerPoint.Application
Set ppApp = CreateObject("PowerPoint.Application")
I have added the reference: Microsoft PowerPoint 14.0 Object Library.

Thank you in advance.

ML
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
If both version are set as references it will, I believe, default to the one with highest priority, nearest to the top, on the list of reference.

Alternatively, you can specify the version according to this thread (http://www.mrexcel.com/forum/showthread.php?t=540522).

I only have one version installed so I can't test either.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,607
Messages
6,179,871
Members
452,949
Latest member
Dupuhini

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