barski Posted June 21, 2004 Posted June 21, 2004 How do I prevent the overwrite yes/no popup when saving output as Excel? here's how I'm saving xlBook.SaveAs(@"c:\" + fileName,Missing.Value,Missing.Value,Missing.Value,Missing.Value,Missing.Value,Excel.XlSaveAsAccessMode.xlNoChange,Missing.Value,Missing.Value,Missing.Value,Missing.Value,Missing.Value); Quote
Moderators Robby Posted June 21, 2004 Moderators Posted June 21, 2004 I think that one of the args in the SaveAs() is to 'not prompt for save" Quote Visit...Bassic Software
barski Posted June 23, 2004 Author Posted June 23, 2004 I'm with you I figured it was one the args in the saveas however it is one the properties of the app xlApp.DisplayAlerts = false Quote
Moderators Robby Posted June 23, 2004 Moderators Posted June 23, 2004 good, so does it work? Quote Visit...Bassic Software
Recommended Posts