1234567891011121314151617181920212223242526272829303132using Excel = Microsoft.Office.Interop.Excel;using System.Runtime.InteropServices;using System.Diagnostics; namespace TEST{ class ExcelSave { [DllImport("user32.dll", SetLastError = true)] static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint IpdwProcessId); static Excel.Application excelApp = n..