[英]Is there any option hide Saving Dialog box in Microsoft Office interop Excel?
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.我使用 Microsoft Office interop Excel 设置了保存 excel 的代码,但是当我的 excel 文件保存时,它会显示保存对话框,如图像。 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此功能是为了安全起见,您可以使用 excel 宏不显示弹出窗口
Please check: Excel VBA - hide path while saving file to another location请检查: Excel VBA - 将文件保存到另一个位置时隐藏路径
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.