Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Opening with Excel All Word documents of a Sharepoint site

From all Word documents on a Sharepoint site I want to copy
information to an Excel workbook.
I can open just 1 document en copy the information to Excel, but how
do I open all the files?
--
The following code Works fine for 1 document:

Dim appWord As Word.Application, docWord As Word.Document
Dim strPath As String

Set appWord = GetObject(, "Word.Application")
code
strPath = "http://server/folder/folder/test.docm"
Set docWord = appWord.Documents.Open(strPath)
---
the following code gives an error (Path not found)
Dim objFSO As Object , objFolder As Object, strPath as String
strPath = "http://server/folder/folder" (with or without an
extra /)
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFolder= objFSO.Folder(strPath)

In the View / Explorer the path is the same as on the Sharepointsite,
as given voor strPath


What do I wrong???


Reply
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
Synchronising Excel Documents Across SharePoint goobler Excel Discussion (Misc queries) 0 May 12th 10 03:14 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
Having problems saving pdf's from excel to a sharepoint site. Ben H. Excel Programming 2 October 16th 07 05:24 AM
Shared Excel Documents and SharePoint RFischer Excel Discussion (Misc queries) 0 November 30th 04 06:25 PM


All times are GMT +1. The time now is 03:09 AM.

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

About Us

"It's about Microsoft Excel"