How can i start Microsoft Word in an VB Application
Printable View
How can i start Microsoft Word in an VB Application
Use OLE control. When you insert it inot the form it will ask you about the type of file you would like to attach.Click on doc and also click the check box "Create Link to the file".
Then use
Command1_Click()
ole1.doverb
Hope you will try it!
If you want to start a separate Instance of Word, use.....
shell ("c:\progra~1\Micros~1\Office\winword.exe")
If you want to open it in your own application, use OLE Objects.