I set code for save excel using Microsoft Office interop Excel but when my excel file Save it's Display saving Dialog box like image. it's security issue because display save path
Code
excelWorkBook.SaveAs("C:\\MyExcelTestTest.xls", Excel.XlFileFormat.xlWorkbookNormal,
System.Reflection.Missing.Value, System.Reflection.Missing.Value, false, false,
Excel.XlSaveAsAccessMode.xlShared, false, false, System.Reflection.Missing.Value,
System.Reflection.Missing.Value, System.Reflection.Missing.Value);
Thanks in advance
This feature is for security, you can use an excel macro to not display the popup
Please check: Excel VBA - hide path while saving file to another location
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.