oWord = CreateObject("Word.Application") oDocument = oWord.document.open("name of document") oWord.Application.Visible = .T.
? oDocument.Name