oleapp=createobject("word.application") oleapp.visible=.t. fdoc=oleapp.Documents.Add fdoc.saveas("c:\test.doc") oleapp.quit