Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
Using VB Script I am trying to save an excel file out of Qlikview ending with the following:
XLSheet1.SaveAs "C:\Users\User\Test_Output.xlsx"
XLDOC.Application.Quit
The doc 'Test_Output.xlsx' already exists so I am essentially trying to replace it and close the document with no user interaction. However every time I run this script the excel prompts the attached dialog to confirm the user wishes to replace the file.
Is there a VB function to essentially save and replace without this prompt?
Before the save command. try:
XLDOC.Application.DisplayAlerts = False;
Before the save command. try:
XLDOC.Application.DisplayAlerts = False;
Thanks Mike worked a dream