Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 10-06-2017, 11:29 PM
saad saad is offline Application.COMAddIns PDFMAKER return nothing Windows 7 64bit Application.COMAddIns PDFMAKER return nothing Office 2013
Novice
Application.COMAddIns PDFMAKER return nothing
 
Join Date: Oct 2017
Posts: 2
saad is on a distinguished road
Default Application.COMAddIns PDFMAKER return nothing

Hi,

I try to convert document word to pdf using PDFMaker. So, I installed Adobe acrobat XI Pro.

When I execute below code, Application.COMAddIns.Description gives the descritpion of the add in but it didn't return the objet, nothing is returned

Sub test()

Dim pmkr As AdobePDFMakerForOffice.PDFMaker
Dim stng As AdobePDFMakerForOffice.ISettings

On Error GoTo ErrorHandler

For Each a In Application.COMAddIns

If InStr(UCase(a.Description), "PDFMAKER") > 0 Then
Set pmkr = a.Object
Exit For
End If
Next

If pmkr Is Nothing Then
MsgBox "Can not find PDFMaker add-in", vbOKOnly, ""
Exit Sub


End If


pmkr.GetCurrentConversionSettings stng


ErrorHandler:
MsgBox "Erreur no " & Err.Number & " " & Err.Description
End Sub

Could you help please.

Saad
Attached Images
File Type: png pdfmaker.PNG (10.7 KB, 9 views)
Reply With Quote
  #2  
Old 10-07-2017, 12:45 AM
macropod's Avatar
macropod macropod is offline Application.COMAddIns PDFMAKER return nothing Windows 7 64bit Application.COMAddIns PDFMAKER return nothing Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Why are you bothering with PDFMaker when Word can produce PDFs on its own?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 10-07-2017, 02:59 AM
saad saad is offline Application.COMAddIns PDFMAKER return nothing Windows 7 64bit Application.COMAddIns PDFMAKER return nothing Office 2013
Novice
Application.COMAddIns PDFMAKER return nothing
 
Join Date: Oct 2017
Posts: 2
saad is on a distinguished road
Default

The issue is fixed. it was compatibility problem.

https://support.microsoft.com/en-us/...bat-pdfmaker-o

thank you.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Application Forms Gladiator Word 2 09-16-2015 03:14 PM
Application.COMAddIns PDFMAKER return nothing What application to use? pfergy Office 1 03-12-2011 08:46 PM
Application.FileSearch cksm4 Word VBA 0 08-19-2010 02:18 PM
Application.COMAddIns PDFMAKER return nothing Best application to use? FrankW Office 2 06-13-2009 01:16 AM
What is Application Automation and How can I use it in VBA KramerJ Excel 0 03-30-2009 12:59 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:10 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft