Excel automation
When I execute the following statement:
oWorkbook.GetType().InvokeMember("SaveAs", BindingFlags.InvokeMethod,
null, oWorkbook, Parameters);
I get a popup which asks if I want to replace the existing file with the same name. Is there any way I can suppress this message and do a save anyway.
[313 byte] By [
TeenC] at [2007-11-20 11:44:19]

# 1 Re: Excel automation
Try something like this before the save :
YourExcelObject.InvokeMember("DisplayAlerts", BindingFlags.SetProperty, null, _apl, new object[] { false });
DisplayAlerts will "suppress" that dialog. If my above code is not correct ( not sure about it ), search google for DisplayAlerts.