I'm trying to put in code to save the active presentation using the file dialog box. I can get the dialog box to appear with this:
Application.FileDialog(msoFileDialogSaveAs).Title = _
"Random Title For Dialog"
'make the file dialog visible to the user
intChoice = Application.FileDialog(msoFileDialogSaveAs).Show
'determine what choice the user made
If intChoice <> 0 Then
'your code here"
End If
End Sub
But I don't understand what I need to change so that the file name I type in the dialog box is saved. The "intChoice" variable above doesn't seem to do anything, whether I select a file, or type a new name in. What code do I need in the "your code here" part of this routine? I tried "activepresentation.save", and it did, but saved the file as "-1" and not with the name I typed in the dialog box.
Thanks for anyone's help.