Results 1 to 2 of 2

Thread: PP FileNew

  1. #1
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts

    PP FileNew

    Using VBA/Word, I display the FileNew (classic) with Application.Dialogs(wdDialogFileNew).Show. What is the equivalent in PowerPoint?

    Thanks.

  2. #2
    5 Star Lounger
    Join Date
    Mar 2001
    Location
    New York, NY
    Posts
    922
    Thanks
    2
    Thanked 12 Times in 11 Posts
    I've answered my own question. I use the code below. I'll fuss to add default folder and filter for file types.

    Sub PPfilenew()
    Dim sFile As String
    With Application.FileDialog(msoFileDialogFilePicker)
    .Show
    sFile = .SelectedItems(1)

    End With

    Presentations.Open sFile, untitled:=msoTrue
    End Sub

Posting Permissions

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