5
Answers

Suppress The Excel Warnings

richard smith

richard smith

11y
3.5k
1
In Excel VBA I would use Application.DisplayAlerts = False

IN C# I have tried:
Excel.Application oXL;
Excel._Workbook oWB;

oXL.DisplayAlerts = false;
oXL.Parent.DisplayAlerts = false;

And neither of them suppress the warning "This file already exists...etc."
Answers (5)