What if I want to save data in the same excel file for a number of iterations (without overwriting the existing data) ? Einer der XlFileFormat-Werte, die das zu verwendende Dateiformat angeben, wenn Sie die Datei speichern. FileFormat Object. – John Apr 13 '16 at 8:41 add a comment |


Für eine vorhandene Datei ist das Standardformat das zuletzt angegebene Dateiformat, und für eine neue Datei ist das Standardformat die verwendete Excel-Version. One of the XlFileFormat values that specifies the file format to use when you save the file. In order for the Macro to continue to run without prompting the box, the first thing to do is to temporarily turn the alert box off using Application.DisplayAlerts = False , and all answers will become Yes. Example – Excel VBA Workbook.SaveAs Method When you save as a workbook in a location where the workbook name already exists, you will receive the following prompt box.