简体   繁体   English

VBA将Windows身份验证传递给SharePoint

[英]VBA pass windows authentication to SharePoint

I have a VBA project that uploads data from an Excel spreadsheet to an Access database stored on SharePoint. 我有一个VBA项目,它将数据从Excel电子表格上传到存储在SharePoint上的Access数据库。 All was well until I upgraded to Windows 7. Windows 7 doesn't automatically pass Windows authentication to SharePoint when accessed this way. 一切顺利,直到我升级到Windows 7.当以这种方式访问​​时,Windows 7不会自动将Windows身份验证传递给SharePoint。 Now my project will not update my db. 现在我的项目不会更新我的数据库。 How can I get my VBA project to pass that information to SharePoint? 如何让我的VBA项目将该信息传递给SharePoint? I've been searching for 2 days and I haven't found anything helpful. 我一直在寻找2天,但我没有找到任何帮助。

I ran into the same problem today. 我今天遇到了同样的问题。 The workaround I came up with, which I would love to replace, is to force Windows Explorer to open the sharepoint folder, which triggers the authentication request to the user. 我想出的替代方法是强制Windows资源管理器打开sharepoint文件夹,这会触发对用户的身份验证请求。 Obviously, there are many issues with this solution. 显然,这个解决方案存在很多问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM