Posts

MS Word- build clean PDF & Export to meta-saved location for SharePoint

Attribute VB_Name = "DOC_EXPORT_PRINT" ' ===================================================================== ' File: Modules\PDFExportWithDiscard.bas ' ===================================================================== Option Explicit ' ===================================================================== ' Module-level constants ' ===================================================================== Private Const PROP_TARGET_COPY As String = "TargetCopyFolder" '' name of the custom document property to store the copy target path ' --------------------------------------------------------------------- ' Expected globals (documented only; not re-declared here): Public AutoDiscard As Long ' 0=off, 1=stop at first discard, >1=keep only non-discard Public FNCopyFileLocation As String ' Preferred copy folder for the resulting PDF ' =============================================...