
Refresh BackgroundQuery:=False End With Hope this helps - if anyone has a better solution please let me know.

Name = _ "AllItems.aspx?RootFolder= SharePoint Root Folder". The code looks like this as generated from simply recordind the macro selecting the main SharePoint window to query: With (Connection:= _ "URL SharePoint Directory" _, Destination:=Range("A1")). Click Framework (if necessary) Scroll to System.Configuration and check the box next to it, as shown in Figure 2. To open an Excel file with VBA you would program as follows: Sub openworksheet () Workbooks.Open filename: filepath End sub. This gets the list of filenames (and some other superflous text) into an Excel worksheet from where you can extract the filenames and then open the relevant files and do what you need to do to them. Before you can jump in and code, you first need to set a project reference to System.Configuration by following these steps: Click Project. The first step to updating, modifying, and saving Excel files is to be able to open them. Hello I have had the same problem and not come up with a better solution than recording a macro to create a Web Query to the folder in SharePoint where the files I am interested in are located.
