*https://www.microsoft.com/en-us/download/details.aspx?id=7 *This download (934ko) allows you to export and save to the PDF and XPS formats in eight 2007 Microsoft Office programs. *It also allows you to send as e-mail attachment in the PDF and XPS formats in a subset of these programs. *install it as addon (office 2007 already installed). &&tested on word2007 and add to download installed Local loword oWord=Createobject("WORD.application") loDoc=oWord.documents.Open(Getfile('doc|docx')) &&test also for excel files...its same code #Define wdFormatPDF 17 loDoc.SaveAs("d:\x.pdf",wdFormatPDF) &&WdSaveFormat Enumeration loDoc.Close() oWord.Quit &&view Declare Integer ShellExecute In shell32.Dll ; INTEGER hndWin, String cAction, String cFileName, ; STRING cParams, String cDir, Integer nShowWin ShellExecute(0,"open","d:\x.pdf","","",1)