
You can get
“path to the Desktop”!

Use “SpecialFolders property” of “WScript.Shell object“!
VBA Code
You can get “path to the Desktop” by “SpecialFolders property” of “WScript.Shell object“.
Option Explicit
Sub sampleProc()
Dim wsh As Object
'Get "WScript.Shell object"
Set wsh = CreateObject("WScript.Shell")
'Get "path to the Desktop"
MsgBox wsh.SpecialFolders("Desktop")
Set wsh = Nothing
End Sub
Result
You got “path to the Desktop”!

FYI No.1
Also, you can get “User Name”.
For more information, see the following article:
FYI No.2
Also, you can get “Computer Name”.
For more information, see the following article: