Apr 16 2021 03:24 AM
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.
May 02 2021 08:16 AM
May 06 2021 04:19 AM - edited May 06 2021 07:13 AM
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
May 07 2021 01:13 AM
May 07 2021 02:42 AM