How to find slide number in PowerPoint Presentation ?

I want to find slide number in PowerPoint Presentation using VBA.

Contributor Asked 11 hours ago in VBA PowerPoint.
Add Comment
1 Answer(s)

Hello Lora

Try this code

Sub Test()
MsgBox ActivePresentation.Slides.Count
End Sub
Expert Answered 10 hours ago.
Add Comment
  • Found this useful?

    Please share using the share button above.

    If you found the answer is best answer for your question, Please mark as 'best answer' by clicking on the right tick mark icon at the left side of the answer.

    Found the answer useful and wants to credit the user, then vote the answer (vote up).

  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.