E
Edson
How can I refer to user's desktop path using VB?
Tks in advance
Tks in advance
Dave Peterson said:VBA?
If yes, then one way:
Option Explicit
Sub testme()
Dim myDesktopPath As String
myDesktopPath = CreateObject("WScript.Shell").SpecialFolders("Desktop")
MsgBox myDesktopPath
End Sub
....Dave Peterson said:If yes, then one way: ....
Sub testme()
Dim myDesktopPath As String
myDesktopPath = CreateObject("WScript.Shell").SpecialFolders("Desktop")
MsgBox myDesktopPath
End Sub