问题描述
我正在使用包含宏和密码保护的excel。 excel包含几个下拉列表,工作表受到保护。
I am using the excel which contains macros and password protected. The excel contains several drop-downs and worksheets are protected.
我正在将C#上传到服务器上。并且在下载之后它正在工作但是检查了兼容性。
I am uploading the C# to the server its working. And after downloading its working but getting compatibility checked.
在程序中,当我使用C#interop库加载excel并尝试在一些单元格中编写并使用Excel Application SaveAS( ...)excel得到保存,但没有任何影子和关闭excel的现有验证是
也无法正常工作。
In the Program when i load the excel using C# interop libraries and try to write the in some cells and use the Excel Application SaveAS(...) the excel getting saved but dont have any dropdows and the existing validations when closing the excel are also not working.
这是因为在保存excel时禁用了macor ..请帮助..
Is this due to the macors disabled while saving the excel..Please help..
在此先感谢..
Pradep
推荐答案
由于您的问题与开发人员的excel更相关,
excel
for developers 论坛寻求支持。
Since your problem is more related to excel for developers,I move it to excel for developers forum for support.
Visual C#论坛讨论并询问有关C#编程语言,IDE,库,示例和工具的问题。
如果您有一些语法或代码错误,请随时与我们联系。我们会尽力为您提供解决方案。
感谢您的理解与合作。
最好的问候,
Wendy
这篇关于C# - 使用宏导入Excel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!