Problem with applying design in PowerPoint 2007

B

Björn

Hi all,

Code that worked great in Powerpoint 2003 does not work at all in PowerPoint
2007.

oPres.Design = oSourcePres.Designs(2)

This code snippet does *nothing* in PowerPoint 2007. In PowerPoint 2003 this
works well, oPres gets the second design from oSourcePres applied.

I running in Compability mode with presentations/templates created in Office
2003

Any ideas?
 
S

Shyam Pillai

Hi,
What is oPres declared as? If it is a presentation object, then the code is
incorrect. Presentation does not have a Design member object. The correct
code would be:
oPres.Slides(1).Design = oSourcePres.Designs(2)


--
Regards,
Shyam Pillai

Animation Carbon: Copy/Paste/Share animation libraries.
www.animationcarbon.com
 
B

Björn

Hi,

Sorry,
A small typo :-(

================================

The correct version should be as follows:

oSld is declared as Slide
oSourcePres is declared as Presentation

oSld.Design = oSourcePres.Designs(2)

=================================
But the problem is still there:
This code snippet does *nothing* in PowerPoint 2007. In PowerPoint 2003
it works perfect.

Thanks in Advance
 
B

Björn

Hi guys,

Shyam,

Yes, design 2 existed in the presentation.

When the I tested on a machine with PowerPoint 2007 Servicepack 1 applied
the bug was gone.

The code behaved well :)

Maybe this was one of all these little small bugs corrected by the
servicepack? or by one of the later installed updates?

Sorry, to bug you about this. :-(
============================================
Another interesting PowerPoint 2007 bug? have you seen this?

When exporting slides from PowerPoint 2007 the fonts in the exported
pictures are "jagged" - the only export-format which keeps
the font looking nice is .emf..The fonts are all standard windows fonts Is
this a printer driver issue or a PowerPoint 2007 bug?

thx in advance Björn
 
B

Björn

Yeah, I know that other PowerPoint versions also have export problems but in
PowerPoint 2007 the font look really pixelated when exporting slides as
pictures...

Any idea, if this is a bug or just a buggy printer driver?
 

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