Currently having error problems with trying to open an MS project form from an excel userform.
Private Sub cmdDash_Click()
Dim x As Variant
Dim path As String
Dim file As String
path = "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office"
file = "S:\Information\Design Systems Engineering\CFD Methods\KG\Projects\HPC Blank to forecast.mpp"
x = Shell(path + " " + file, vbNormalFocus)
' figure out why wont open the file
End Sub
Does anyone see any problems with this it keeps prompting me file error on the shell path line
thanks in advance
Bookmarks