Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Powerpoint slide name

Status
Not open for further replies.

shep6

Programmer
May 4, 2001
38
GB
Hi

This is probably dead easy, but in powerpoint vba how do I find out the name of the current slide?

Is there not something similar to Excel's acitvesheet.name property?

I've tried ActivePresentation.Slides.Name, but this requires the slide index, I probably need determine the slide index, but what do I use to do this ?

thanks in advance
 
Hi,
depending on PP state (slideshow, design mode), in the simplest case:
Code:
' running slideshow
MsgBox Application.SlideShowWindows(1).View.Slide.Name
or
Code:
' design (document) window:
With ActiveWindow
    .Panes(2).Activate
    MsgBox .View.Slide.Name
End With

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top