

Open File Explorer and browse the following SendTo folder: C:\Users\%username%\AppData\Roaming\Microsoft\Windows\SendTo.vbs extension, and in a permanent folder. Copy the above VBScript code to Notepad.Set objDoc = (docPath)Ĭonvert Word documents to PDF using VBScript PdfPath = fso.GetParentFolderName(docPath) & "\" & _ Set objWord = CreateObject("Word.Application") If LCase(Right(docPath, 4)) = ".doc" Or LCase(Right(docPath, 5)) = ".docx" Then Set fso = CreateObject("Scripting.FileSystemObject")ĭocPath = fso.GetAbsolutePathName(docPath)

Here is a simple script I wrote to do the job: 'Convert.

Using a VBScript, you can bulk convert Word documents to PDF. Microsoft Office has automation or scripting support. RELATED: How to Batch Convert Excel Sheets into PDF Files How to Batch Convert Word Documents into PDF Files Method 1: Using a custom VBScript
