Código Delphi [-] if Word.Documents.Count = 0 then Word.Quit;
if Word.Documents.Count = 0 then Word.Quit;