Forum Discussion
baxatob
7 years agoCommunity Hero
Please check how properly operate with Excel object.
Also this topic can helps: https://msdn.microsoft.com/en-us/library/wss56bz7.aspx
Your issue is here:
var book = app.Workbooks.Open(fname);
app.Workbooks.Open() changes the state of app object, but does not return anything.