Maybe because you forgot the .exe part? It works for me.Code:Dim opentxt As Double Dim parameter As String parameter = "C:\Program Files\Accessories\WordPad.exe " & App.Path & "\temp.txt" opentxt = Shell(parameter, vbNormalFocus)
|
Results 1 to 9 of 9
Thread: path...?Threaded View
|
Click Here to Expand Forum to Full Width |