Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

Get active slide in Slide Master View, Powerpoint 2007/2010

$
0
0

Hi

I'm inserting images onto an active slide. This works well when in the Normal view. When I switch to the Slide Master View I get the following error: "sliderange cannot be constructed from a master"

The following code causes the error: var index = _application.ActiveWindow.Selection.SlideRange.SlideIndex;

What I'm trying to do is to get the active slide. I can't find any solution to this problem. the Master object doesn't have any support for getting an active slide.

Thanks for help in advance,

Martin


Viewing all articles
Browse latest Browse all 2257

Trending Articles