Private Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Sub g()
'open Word with a blank doc
ShellExecute Application.hwnd, vbNullString, "C:\Program Files\Microsoft Office\OFFICE11\winword.exe", vbNullString, "C:\", 1
'open a document
ShellExecute Application.hwnd, vbNullString, "C:\data\FAX.doc", vbNullString, "C:\", 1
End Sub