Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
参照したこと:
MicrosoftOffice14.0オブジェクトライブラリ
C#プロジェクトで。コンピューターで開いているすべてのExcelアプリケーションを閉じることはできますか?ありがとう。
Process[] processRunning = System.Diagnostics.Process.GetProcesses(); foreach (Process pr in processRunning) { if (pr.ProcessName == "excel") { pr.Kill(); } }