.GetSaveAsFilename dialog opens in background

313 views Asked by At

I did a script which saves an excel-file where the user wants to save it. I am using ExcelApplication.GetSaveAsFilname for this.

Now my problem is: This "Save-Dialog" opens behind all other windows (main-problem is that it opens behind SecureCRT where I need this script).

Please help.

Code snippet:

strPath = app.GetSaveAsFilename("output","Excel Files (*.xlsx), *.xlsx, All Files (*.*),*.*", , "Save as") 
    If strPath = False Then 
        Exit Sub
    End If
0

There are 0 answers