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.
我有 excel 文件,它给出错误“无法解密文件。”。当我打开 excel 文件时,它正在打开并且不提示我输入任何密码。
但是当我在 excel 中检查它对工具栏的保护时。它显示文件受保护。
如何使用 OLEDBConnection 读取该文件。
我今天有一个用户遇到这个问题......我只是告诉她要么取消保护工作表
在我的具体情况下,她实际上无法取消保护工作表,因为它需要密码才能取消保护,所以我只是让她将数据复制/粘贴到一个新的 Excel 文件中。