+ Reply to Thread
Results 1 to 2 of 2

Can't find and open files on a Sharepoint drive

  1. #1
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Can't find and open files on a Sharepoint drive

    I want to scan all the files on a sharepoint folder and modify them.
    The issue I have is that I always get either the error 52 "Bad file name or number" at the line myfile=dir(MyPath) or the dir fucntion returns a NULL string to myfile.
    The sharepoint is a secured one.
    I tried to map the drive as Z: on my computer but still get the same error.
    here is the code I use.
    Please Login or Register  to view this content.
    How can I have VBA to look at the files on the Sharepoint folder?
    Pierre Leclerc
    _______________________________________________________

    If you like the help you got,
    Click on the STAR "Add reputation" icon at the bottom.

  2. #2
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Can't find and open files on a Sharepoint drive

    bump, no one can help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. open all excel files in a sharepoint folder
    By Ish23 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-13-2021, 02:36 AM
  2. open sharepoint csv and find row and write
    By johnny_p in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2015, 07:58 AM
  3. Help needed - Macro to Upload multiple files from C drive to a Sharepoint
    By raghunaik in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-03-2015, 03:15 AM
  4. vba to open, edit, save and close files on sharepoint = very slow :(
    By Gti182 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-31-2014, 07:11 AM
  5. Open multiple excel files on sharepoint using VBA
    By BjarneP in forum Excel General
    Replies: 1
    Last Post: 02-03-2014, 04:44 PM
  6. [SOLVED] Open all files in a SharePoint folder (Problem: Files open out of order)
    By holmstarrunner in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-10-2012, 10:13 AM
  7. VBA code to open excel files in sharepoint
    By Ish23 in forum Excel General
    Replies: 1
    Last Post: 03-23-2011, 10:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1