Results 1 to 3 of 3
  1. #1
    CodeLiftSleep is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    May 2017
    Posts
    48

    Using VBA to access a file using the server path NOT a network drive letter


    I have an issue where I need to be able to access a file on a server but it has to be using the server path rather than a mapped drive. The reason is that not all users might have that location mapped to the same drive.

    How can I accomplish this in VBA using the server path?

  2. #2
    pbaldy's Avatar
    pbaldy is online now Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,642
    Not sure what you mean. You can refer to the UNC path:

    \\ServerName\ShareName\FileName
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    CodeLiftSleep is offline Advanced Beginner
    Windows 10 Access 2013 32bit
    Join Date
    May 2017
    Posts
    48
    Yeah, I got it working...somehow there was an extra path that wasn't there on the drive when I mapped it...

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 03-26-2015, 12:06 PM
  2. Replies: 3
    Last Post: 05-21-2013, 05:48 AM
  3. Link tables to server name, not mapped drive letter in Win 7
    By sleake in forum Import/Export Data
    Replies: 8
    Last Post: 11-16-2012, 10:48 AM
  4. Replies: 10
    Last Post: 03-04-2012, 12:17 AM
  5. Output tables to an excel file on a network drive
    By GraemeG in forum Import/Export Data
    Replies: 1
    Last Post: 04-01-2011, 03:06 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums