Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VBA pass windows authentication to SharePoint

Tags:

vba

sharepoint

I have a VBA project that uploads data from an Excel spreadsheet to an Access database stored on SharePoint. All was well until I upgraded to Windows 7. Windows 7 doesn't automatically pass Windows authentication to SharePoint when accessed this way. Now my project will not update my db. How can I get my VBA project to pass that information to SharePoint? I've been searching for 2 days and I haven't found anything helpful.

like image 272
user1344125 Avatar asked Apr 19 '12 13:04

user1344125


1 Answers

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. Obviously, there are many issues with this solution.

like image 108
Dave Avatar answered Oct 21 '22 14:10

Dave