LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Open Sharepoint site & Determine the number of files and their nam

I am trying to open a sharepoint site and "process" all of the files in it.
Specifically to set their connections. Problem is that I cannot seem to use
the folder like I can on a LAN drive. My code is:

strPath = ActiveWorkbook.Path

Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oFolder = oFSO.GetFolder(strPath)

If I have the activework book on a LAN drive then no problems, but it
appears that using the CreateObject part on the Sharepoint site does not see
the path the same. Can anyone help me determine if I'm using the object
wrong or perhaps not the correct one? Thanks in advance.

Scott Elrod


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wht can't I open Excel files from Sharepoint any more? HH Excel Discussion (Misc queries) 1 January 17th 10 08:49 PM
Accessing Excel Documents on a SharePoint Site ExcelMonkey Excel Programming 2 March 23rd 09 02:58 PM
VBA Code to open an Excel file on a sharepoint site Vit[_2_] Excel Programming 4 September 4th 08 08:01 AM
Possible to import data from spreadsheets on sharepoint site? Sharepoint newbie Excel Discussion (Misc queries) 0 July 2nd 07 02:14 PM
Can a Macro open workbooks on a SharePoint Site? Randy Excel Discussion (Misc queries) 0 August 29th 06 07:21 PM


All times are GMT +1. The time now is 12:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"