标签: c# excel interop
我用来从我的C#Interop应用程序中打开Excel文件。 但是,我已经无法接收(或连接到)Excel文件,当它已经在空中" - 打开manualy。
app = new Excel.Application(); foreach(var w in app.Workbooks) { if(w.name == "MyFile") found = true; //never ever found }
请问您如何连接到MyFile.xlsx,而不仅仅是打开它?