Hello,
I was wondering if it is possible to use a vba code that will open a UserForm based on the current open slide in Normal/Edit View?
I tried the code below, but I'm getting an error message (Object variable or With block variable not set.
What I need to do is:
Thank you
I was wondering if it is possible to use a vba code that will open a UserForm based on the current open slide in Normal/Edit View?
I tried the code below, but I'm getting an error message (Object variable or With block variable not set.
Code:
Sub UserForm()
Dim ActiveSlide As Slide
If ActiveSlide = ActivePresentation.Slides(1) Then
frmChecklist.Show vbModeless
End If
End Sub
What I need to do is:
- If Slide 0 is the current active presentation slide, then open userform1.
- If Slide 1 is the current active presentation slide, then open userform1 and userform2.
- etc.
Thank you