scottharr27
06-02-2005, 10:37 AM
Normally, to open say an excel document with my VB app, I would just have to give a command like:
Shell "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE " & File1.Path & "\" & File1.FileName, vbNormalFocus
However, this does not seem to work with Word Documents, as it opens up Word but gives me an error. Does anyone know a good way to open a word document with the click of a button?
Shell "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE " & File1.Path & "\" & File1.FileName, vbNormalFocus
However, this does not seem to work with Word Documents, as it opens up Word but gives me an error. Does anyone know a good way to open a word document with the click of a button?