ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Working with PPT files through Excel VBA (https://www.excelbanter.com/excel-programming/393724-working-ppt-files-through-excel-vba.html)

Barb Reinhardt

Working with PPT files through Excel VBA
 
I've done this before, but I'm having some difficulty today and I'm not sure
why.

When I declare my PPT variables, I do something like this:

Dim myPPT As powerpoint.Presentation

I have set the references to use the

Microsoft Powerpoint 11.0 Object Library

It's like the library isn't being recognized.

When I RESTART my system, all is well BRIEFLY. I had no problems yesterday
and today it's giving me errors like my variables aren't declared, when they
are.

Can someone assist?

Thanks,
Barb Reinhardt

Jon Peltier

Working with PPT files through Excel VBA
 
Does that computer have an earlier Office version than 2003?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Barb Reinhardt" wrote in message
...
I've done this before, but I'm having some difficulty today and I'm not
sure
why.

When I declare my PPT variables, I do something like this:

Dim myPPT As powerpoint.Presentation

I have set the references to use the

Microsoft Powerpoint 11.0 Object Library

It's like the library isn't being recognized.

When I RESTART my system, all is well BRIEFLY. I had no problems
yesterday
and today it's giving me errors like my variables aren't declared, when
they
are.

Can someone assist?

Thanks,
Barb Reinhardt




Barb Reinhardt

Working with PPT files through Excel VBA
 
It's got 2003 as far as I know.

"Jon Peltier" wrote:

Does that computer have an earlier Office version than 2003?

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______


"Barb Reinhardt" wrote in message
...
I've done this before, but I'm having some difficulty today and I'm not
sure
why.

When I declare my PPT variables, I do something like this:

Dim myPPT As powerpoint.Presentation

I have set the references to use the

Microsoft Powerpoint 11.0 Object Library

It's like the library isn't being recognized.

When I RESTART my system, all is well BRIEFLY. I had no problems
yesterday
and today it's giving me errors like my variables aren't declared, when
they
are.

Can someone assist?

Thanks,
Barb Reinhardt






All times are GMT +1. The time now is 10:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com