Dim myWord As Word.Application, myDoc As DocumentSet myWord = New Word.ApplicationSet myDoc = myWord.Documents.Open("C:\dokument.doc")myDoc.PrintPreviewmyWord.Visible = TruemyWord.Quit
Náh¾ad uzavriete pomocou:myDoc.ClosePrintPreview