Creating a folder in SharePoint using VB in MS Access 2007

Posted on 2013-11-06
Medium Priority
Last Modified: 2013-11-06
Can I create a folder in SharePoint using VB from Access 2007?  If so, how?  
Question by:WestBillWest
1 Comment

Accepted Solution

WestBillWest earned 0 total points
ID: 39627596
Thanks, I figured it out,  simple.  I just copied the path from the Windows Explorer provided by SharePoint by clicking <Actions><Open With Windows Explorer>.   From there I used the MkDir() function to add a "Test" folder to that.

Code Example:
     Dim NewFolder, SharePointFolder as String

     ' Notice, no "http:"  but the double "\"
     SharePointFolder = "\\MainFolder\SubFolder\Bill\"  
     NewFolder = "Test"

     mkdir(SharePointFolder & NewFolder)
     msgbox ("Your New Folder, '" & NewFolder & "' has been created!")

Thank you,

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question