title: How can I use the common Save As dialog from VBScript?
body: <p>I'd like to have my VBScript display the Windows Save As dialog box, but I could not find out how to do it.</p>
  
  <p>Using this code:</p>
  
  <pre><code>Dim sfd
  Set sfd = CreateObject("UserAccounts.CommonDialog")
  sfd.ShowOpen
  </code></pre>
  
  <p>I can get an Open dialog, but there is no <code>ShowSave</code> method for this object (as there seems to be for a similar object in Visual Basic non-script).</p>
  
  <p>I searched StackOverflow and googled for "[vbscript] save dialog" (and with "Windows Script Host"), but I only found threads about accessing common dialogs from web pages and a solution for the <code>BrowseForFolder</code> dialog and nothing really about calling the Save dialog.</p>
  
  <p>Actually, I can use the Open dialog for my purpose, because all I need is a file name...  but as I'd like to save something to the selected path, a "Save As" in the title bar of the dialog would be more appropriate.</p>