DDE : DocClose
The specified PDF document is shut. However, even if the PDF document has been changed, preservation is not done.Only Acrobat can be used. It is not possible to use it with Acrobat Reader. Syntax [DocClose(char* fullPath)] Argument fullPath[char*] The full path of PDF file Returns true The PDF document is closed successfully false Otherwise. Notes: The return value cannot be acquired with DDE of VBA of Excel. Sample: VBA of Excel The specified PDF document is shut. Please confirm the test by the step execution with F8 key. Sub DDE_DocClose() Dim lChanNo As Long ‘DDE channel number Dim strFilePath As String ‘The full path of PDF file ‘A double quotation mark is added … Continue reading DDE : DocClose