03-26-2009 03:51 PM
I am using the Excel Report fp along with CVI 8.0.
How do I suppress the file overwrite prompt generated by excel when I initiate the following command ExcelRpt_WorkbookSave ?
I am first using a FileSelectPopup to prompt the user to create or select a file. If a file that already exists is selected, an overwrite prompt appears which must be selected.
This is ok.
However, when the ExcelRpt_WorkbookSave function is executed, excel will then launch another prompt on its own.. I need to suppress this second prompt.
Thanks
Diego
03-27-2009 03:07 AM
03-27-2009 08:39 AM
Roberto,
Good solution, thx.
I am still curious if there is a way to suppress the excel prompt.
Diego
03-27-2009 08:46 AM
I don't think there is a way to do it directly.
You may have to save the worksheet to a temporary file, delete the original file, then rename the temporary file to the original filename.