hoikar
asked on
C# + Late Binding (Excel) - Save File
I have tried to update excel using C# and late and message prompt when program excuting the "Save" function
objBook.GetType().InvokeMe mber("Save As", BindingFlags.InvokeMethod, null, objBook, Parameters);
may I know is there any method to disable this alert? or make allow autosave?
Thanks
objBook.GetType().InvokeMe
may I know is there any method to disable this alert? or make allow autosave?
Thanks
ASKER
To Rakesh_Desai:
How to set in C# with the late binding?
Could you please provide me one example?
Many Thanks~
How to set in C# with the late binding?
Could you please provide me one example?
Many Thanks~
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Suppose your declared excel object is objExcel then code would be
objExcel.DisplayAlerts = false;