Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Creating a folder in SharePoint using VB in MS Access 2007

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

Accepted Solution

by:
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,
     Bill
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

581 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