VBA Excal start powerpoint on mix system of 2003 or 2007

  • Thread starter Ismail Hakki Yildiz
  • Start date
I

Ismail Hakki Yildiz

Hi there,

I am using vba excel code to start Powerpoint by setting reference for
"Microsoft Powerpoint 12" and using

dim opp as PowerPoint.Application

set opp = CreateObject("PowerPoint.Application.12")

Although I am using the 2007 Version in the reference, when I start it
by code, everytime PowerPoint 2003 starts.

How can I define which version of PP should start??

Thanks a lot

isicom
 
R

reza

Hi there,

I am using vba excel code to start Powerpoint by setting reference for
use
dim opp as New PowerPoint.Application

and remove the line set
opp = CreateObject("PowerPoint.Application.12")

I dont have more than one version of office installed so I cant test
this. But PowerPoint.Application should reference the latest version
of powerpoint

/m
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top