Consulting

Results 1 to 5 of 5

Thread: Open userform in powerpoint from excel

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    VBAX Regular
    Joined
    Sep 2020
    Posts
    40
    Location

    Open userform in powerpoint from excel

    Sir,
    I have an Userform in PowerPoint say Userform1. Now I want to open this userform1 from excel sheet(command button). But below code is not working.
    NOTE: Frist I opened PowerPoint & then pressed command button in excel.


    Sub showUserForm()
    Dim PowerPointApp As Object
    Set PowerPointApp = GetObject(Class:="Powerpoint.application")
    PowerPointApp.Run (PowerPointApp.ActivePresentation.Name & "!UserForm1.Show")
    End Sub
    Attached Files Attached Files

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •