|
-
Aug 28th, 2010, 11:09 AM
#1
Thread Starter
Evil Genius
Connectionstring to Sharepoint Excel file
Hi everyone! So I have some Excel file VBA code which connects to one of its own worksheets, and reads data from it using ADO (as if it were a database).
This works great if the file is opened from a local computer. Unfortunately, I went and placed it on a Sharepoint site. If using the check-out, download and edit file directly in Excel option from the Sharepoint site, well, this is what is returned for me to build a connectionstring from, and a general error message I get ...
Code:
ThisWorkbook.Path
https://MyWebste.com/SomeSubFolders
?ThisWorkbook.Name
,DanaInfo=.abcdeF012345ghi678,SSL+MyWorkbookName.xls
-2147467259 "cannot find object 'C:\Users\Me\Documents\https:\MyWebsite..."
Is there a way round this please? Or is the only option for my users to download this file locally? Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|