Acrobat pdf-Maker Add in deactivates macros in a macrobased template after having created the pdf

%3CLINGO-SUB%20id%3D%22lingo-sub-2275733%22%20slang%3D%22de-DE%22%3EAcrobat%20pdf-Maker%20Add%20in%20deactivates%20macros%20in%20a%20macrobased%20template%20after%20having%20created%20the%20pdf%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2275733%22%20slang%3D%22de-DE%22%3E%3CP%3EThe%20head%20line%20says%20everything%20i%20think%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20have%20a%20macro-enabled%20word%20template.%3C%2FP%3E%3CP%3EIf%20i%20use%20the%20on%20board%20%22save%20as%20pdf%22-function%20it%20works%20all%20correct.%3C%2FP%3E%3CP%3EIf%20i%20use%20the%20acrobt%20pdf%20maker%20add%20in%2C%20the%20pdf%20is%20created%2C%20but%20it%20deactivates%20the%20macros%20and%20i%20cannot%20work%20further%20with%20the%20document.%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20what%20is%20the%20difference%20between%20Acrobat%20pdf-maker%20add%20in%20and%20save%20as%20function%20(which%20is%20not%20as%20comfortable%20and%20the%20reason%20why%20i%20do%20not%20want%20to%20use%20it).%26nbsp%3B%3CBR%20%2F%3EAdobe%20support%20says%3A%20well%20pdf%20is%20created%2C%20what%20happens%20afterwards%20is%20not%20our%20problem%3C%2FP%3E%3CP%3EMicrosoft%20support%20says%3A%20Add%20in%20is%20written%20and%20provided%20by%20adobe%3A%20so%20not%20our%20business%20at%20all%20respectivly%20i%20was%20forwared%20to%20this%20forum.%20so%20let's%20see%20if%20anyone%20can%20help%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2315175%22%20slang%3D%22en-US%22%3ERe%3A%20Acrobat%20pdf-Maker%20Add%20in%20deactivates%20macros%20in%20a%20macrobased%20template%20after%20having%20created%20the%20pd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2315175%22%20slang%3D%22en-US%22%3EThis%20is%20most%20likely%20intentional.%20Here%20is%20a%20bit%20of%20dated%20information%2C%20but%20you%20can%20see%20here%20that%20it%20had%20been%20confirmed%20previously%20that%20macros%20were%20disabled%20for%20the%20users%20protection.%20I%20expect%20this%20practice%20continues.%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22http%3A%2F%2Fwww.networksteve.com%2Fexchange%2Ftopic.php%2FMacro_error_genereaetd_when_try_to_create_pdf_document%2F%3FTopicId%3D56966%26amp%3BPosts%3D1%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Fwww.networksteve.com%2Fexchange%2Ftopic.php%2FMacro_error_genereaetd_when_try_to_create_pdf_document%2F%3FTopicId%3D56966%26amp%3BPosts%3D1%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20seems%20a%20relatively%20common%20problem%20people%20report%2C%20and%2C%20since%20there%20is%20a%20registry%20key%20setting%20that%20tells%20the%20program%20to%20do%20this%2C%20it%20seems%20clear%20it%E2%80%99s%20intended%20for%20your%20protection.%3CBR%20%2F%3E%3CBR%20%2F%3EThat%E2%80%99s%20a%20good%20thing%2C%20and%20I%20discourage%20attempting%20to%20tamper%20with%20the%20key%20as%20is%20suggested%20at%20that%20link.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2330936%22%20slang%3D%22de-DE%22%3ERe%3A%20Acrobat%20pdf-Maker%20Add%20in%20deactivates%20macros%20in%20a%20macrobased%20template%20after%20having%20created%20the%20pd%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2330936%22%20slang%3D%22de-DE%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F1038301%22%20target%3D%22_blank%22%3E%40Rich89%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethx%20a%20lot%20for%20your%20reply.%20i%20tried%20it%20on%20my%20workstation%20and%20it%20worked%20out%20perfectly.%3C%2FP%3E%3CP%3EWhat%20is%20not%20clear%20to%20me%20is%20the%20risk%20i%20might%20be%20running%20in%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20explanation%20was%20not%20clear%20to%20me.%20If%20i%20get%20a%20malicious%20file%2C%20than%20i%20have%20a%20problem%20much%20earlier%20than%3C%2FP%3E%3CP%3Eat%20the%20point%20that%20i%20create%20a%20pdf%20from%20it.%20Or%20do%20i%20misunderstand%20something%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20do%20not%20understand%20the%20order%3A%20the%20pdf%20is%20created%20perfectly%20and%20afterwards%20the%20word%20file%20is%20macro%20disabled.%20If%20there%20is%20a%20threat%20by%20creating%20a%20pdf%20than%20the%20process%20must%20be%20prohibited%20before%20it%20starts%20not%20after%20everything%20important%20has%20been%20done%2C%20right%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20you%20explain%20a%20bit%20more%20for%20a%20nerd%20like%20me%3F%20i%20have%20letter%20templates%20that%20are%20enhanced%20by%20some%20macros%20for%20letting%20the%20user%20just%20write%20content%20in%20certain%20areas%2Ffields.%20Inside%20the%20fields%20i'm%20turning%20the%20enter%20key%20off%2C%20so%20that%20important%20style%20elements%20of%20a%20normed%20letter%20cannot%20be%20moved%20from%20the%20user%20etc.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20it%20is%20not%20quite%20clear%20to%20me%20what%20is%20the%20risk%20in%20detail.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThere%20should%20be%20an%20enhancement%2C%20that%20if%20the%20templates%20are%20in%20a%20trusted%20folder%2C%20means%20coming%20from%20inside%20the%20company%20that%20it%20works%20without%20any%20registry%20change%2C%20shouldn't%20it%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECheers%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMichael%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

The head line says everything i think:

 

i have a macro-enabled word template.

If i use the on board "save as pdf"-function it works all correct.

If i use the acrobt pdf maker add in, the pdf is created, but it deactivates the macros and i cannot work further with the document. 

So what is the difference between Acrobat pdf-maker add in and save as function (which is not as comfortable and the reason why i do not want to use it). 
Adobe support says: well pdf is created, what happens afterwards is not our problem

Microsoft support says: Add in is written and provided by adobe: so not our business at all respectivly i was forwared to this forum. so let's see if anyone can help here.

 

4 Replies
This is most likely intentional. Here is a bit of dated information, but you can see here that it had been confirmed previously that macros were disabled for the users protection. I expect this practice continues.

http://www.networksteve.com/exchange/topic.php/Macro_error_genereaetd_when_try_to_create_pdf_documen...

This seems a relatively common problem people report, and, since there is a registry key setting that tells the program to do this, it seems clear it’s intended for your protection.

That’s a good thing, and I discourage attempting to tamper with the key as is suggested at that link.

@Rich89 

thx a lot for your reply. i tried it on my workstation and it worked out perfectly.

What is not clear to me is the risk i might be running in?

 

The explanation was not clear to me. If i get a malicious file, than i have a problem much earlier than 

at the point that i create a pdf from it. Or do i misunderstand something?

 

I also do not understand the order: the pdf is created perfectly and afterwards the word file is macro disabled. If there is a threat by creating´a pdf than the process must be prohibited before it starts not after everything important has been done, right?

 

Can you explain a bit more for a nerd like me? i have letter templates which are enhanced by some macros for letting the user just write content in certain areas/fields. Inside the fields i'm turning the enter key off, so that important style elements of a normed letter cannot be moved from the user etc.

 

So it is not quite clear to me what is the risk in detail.

 

There should be an enhancement, that if the templates are in a trusted folder, means coming from inside the company that it works without any registry change, shouldn't it? What i am gonna try is to make my macro a trusted one (means sign it) and allow only signed macros thru GPO.

 

 

Latest news: I tried it with a simple word add in:

something like:

 

Sub DocToPdf()
ActiveDocument.ExportAsFixedFormat Outputfilename:=Environ("USERPROFILE") & "\Desktop\" & "Test.pdf", _
ExportFormat:=wdExportFormatPDF, _
OpenAfterExport:=True, OptimizeFor:=wdExportOptimizeForPrint, Range:= _
wdExportAllDocument, Item:=wdExportDocumentContent, _
IncludeDocProps:=True, KeepIRM:=True, CreateBookmarks:= _
wdExportCreateNoBookmarks, DocStructureTags:=True, _
BitmapMissingFonts:=True, UseISO19005_1:=False
End Sub

 

in the normal.dotm, executed via quick tool bar. No problem, no deactivation of macros.

and i deleted the registry key, restarted the pc before. So, what does this tell us? ;)

 

 

Cheers

 

Michael

The intent of the process disabling macros for protection is probably meant for the “average” user. I’m only guessing at this point. I can’t really speak to Adobe’s intentions.

Or, perhaps the add-in creates macros in the process of what it does and disables macros when it’s done?

I really can’t say. We’d have to get answers from them. I can definitely see how this is a problem though.
I talked to Adobe already....They don't want to know at all from it. Their reply was: pdf is created, anything what happens then is not their responsibilty.
But that was before i knew the thing with the registry key. It is unbelievable how user-unfriendly their customer service is.