Quantcast
Channel: Word for Developers forum
Viewing all articles
Browse latest Browse all 4350

Word 2010 File Names from SharePoint 3.0

$
0
0

Up to last week, I had been using an XP computer with Windows 2007 and SharePoint 2007. I have several VBA macros that perform various search tasks on documents in a SharePoint folder or documents checked out and temporarily saved in my local SharePoint Drafts folder. My custom was to either grab the full path and file name from Document Properties and put it in a GetObject statement, or use a loop to cycle through a folder directory. Whether a document was checked out or not from SharePoint, I could always use one of our server paths to get the document.

When I (finally!) got updated to a Windows 7 machine with Word 2010 (I think SharePoint 3.0 is newer than 2007, but not exactly sure), I discovered that the Word file names for SharePoint documents are now URLs with "http://" in front of them, and my macros don't like that format of the file path and name. Do I need to SharePoint VBA to my resources to make this happen? Previously, I didn't need to; they ran straight from Word's VBA interface.

Any help would be appreciated. Thank you.

Scott


Viewing all articles
Browse latest Browse all 4350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>