Jump to content

Powerpoint UDF: how to find out the current Slide Index?


Go to solution Solved by atvaxn,

Recommended Posts

I have a script to add an image file to powerpoint. (

Now, there is a part, which is:

$oSlide = $oPres.Slides(1)

Here I have to add the slide number. But how to find out the Index of the current slide I am editing?

 

Link to comment
Share on other sites

  • Solution

I have found the answer, after trying hundreds of commands:

Local $iSlideIndex = $oPres.Application.ActiveWindow.View.Slide.SlideIndex

Thanks all

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...