mhdhallak
asked on
Simple Question....
Ok, this is an easy question.
Can somebody give me the code that will open a Microsoft Word (either 97 or 2000) file?
Can somebody give me the code that will open a Microsoft Word (either 97 or 2000) file?
ASKER
Yeah, and I also need a fragment that will open an Excel file of CSV format.
Sub Command1_Click ()
Set oWDBasic = CreateObject("Word.Basic")
oWDBasic.FileNew "C:\test.doc"
End Sub
Regards,
Sudhi.
Set oWDBasic = CreateObject("Word.Basic")
oWDBasic.FileNew "C:\test.doc"
End Sub
Regards,
Sudhi.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
You forgot:
wrd.Visible = True
It's ok, I figured it out myself.
Thanks anyway
wrd.Visible = True
It's ok, I figured it out myself.
Thanks anyway
ASKER