Creating a folder in SharePoint using VB in MS Access 2007

Can I create a folder in SharePoint using VB from Access 2007?  If so, how?  
   Thanks,
        Bill
WestBillWestAsked:
Who is Participating?
 
WestBillWestConnect With a Mentor Author Commented:
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
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.

All Courses

From novice to tech pro — start learning today.