Код макроса, вроде не сильно накосячил:
Sub ExportJPG_PDF()
Dim myDoc As Document
Set myDoc = ActiveDocument
On Error GoTo Errhandler
If ActiveDocument.Dirty Then ActiveDocument.Save
With myDoc.PDFSettings
.ColorResolution = 300
.ColorMode = pdfCMYK
.BitmapCompression = pdfJPEG
.JPEGQualityFactor = 10
.CompressText = True
.pdfVersion = pdfVersion12
.TextAsCurves = True
.CropMarks = False
.Bleed = False
End With
myDoc.PublishToPDF Mid(ActiveDocument.FullFileName, 1, Len(ActiveDocument.FullFileName) - 3) & "pdf"
Dim expOptions As New StructExportOptions
expOptions.AntiAliasingType = cdrNormalAntiAliasing
expOptions.Compression = cdrCompressionJPEG
expOptions.ImageType = cdrRGBColorImage
expOptions.MaintainAspect = True
expOptions.ResolutionX = 300
expOptions.ResolutionY = 300
expOptions.UseColorProfile = True
ActiveDocument.Export Mid(ActiveDocument.FullFileName, 1, Len(ActiveDocument.FullFileName) - 3) & "jpg", cdrJPEG, cdrCurrentPage, expOptions
MsgBox "JOB IS DONE!"
ExitSub:
ActiveDocument.EndCommandGroup
Exit Sub
Errhandler:
MsgBox "CLOSE THE FILE IN ACROBAT", vbCritical
Resume ExitSub
End Sub