Private Declare Function lstrlenW Lib _
"kernel32" (ByVal lpString&) As Long
Private Declare Function SHGetFolderPath Lib _
"shfolder.dll" Alias "SHGetFolderPathA" (ByVal hwndOwner&, ByVal nFolder&, ByVal hToken&, ByVal dwReserved&, ByVal lpszPath$) As Long
Sub Avec_L_Artillerie_Lourde()
Dim sBuffer$, MesDocs$
sBuffer = Space$(260)
If SHGetFolderPath(&H0, &H5, -1, &H0, sBuffer) = 0 Then
MesDocs = Left$(sBuffer, lstrlenW(StrPtr(sBuffer)))
End If
MsgBox MesDocs
End Sub