This gets you the drive mapping from the local drive letter. Not sure if you
can make this work but it might give you a start...
> I am using Office 2003 on Windows XP.
>
[quoted text clipped - 34 lines]
>
> Thanks much in advance for your assistance.
Here is the code... :-)
Option Explicit
Declare Function WNetGetConnection Lib "mpr.dll" Alias "WNetGetConnectionA"
( _
ByVal lpszLocalName As String, _
ByVal lpszRemoteName As String, _
ByRef cbRemoteName As Long) As Long
Sub Test()
MsgBox UNCfromLocalDriveName("G")
End Sub
Function UNCfromLocalDriveName(strLocalDrive) As String
'Find UNC from Local path
'i.e. Local drive "F:" = "\\RdaServer3\sys1"
' example of usage: UNCfromLocalDriveName("P") <-Actual Drive Letter
' or UNCfromLocalDriveName(A2) <-Cell reference
'
Dim sLocal As String
Dim sRemote As String * 255
Dim lLen As Long
Application.Volatile
sRemote = String$(255, Chr$(32))
lLen = 255
sLocal = strLocalDrive & ":"
WNetGetConnection sLocal, sRemote, lLen
UNCfromLocalDriveName = Trim(sRemote)
End Function

Signature
HTH...
Jim Thomlinson
> This gets you the drive mapping from the local drive letter. Not sure if you
> can make this work but it might give you a start...
[quoted text clipped - 37 lines]
> >
> > Thanks much in advance for your assistance.