G
Guest
Is it possible to create a Macro to print to Acrobat Distiller? I am using a
button to preview a report and would like to add this feature if possible.
Here's the code for the preview button:
Private Sub Command65_Click()
On Error GoTo Err_Command65_Click
Dim stDocName As String
stDocName = "Quotation"
DoCmd.OpenReport stDocName, acPreview, , "[QQuote#] = " & Me![QQuote#]
Exit_Command65_Click:
Exit Sub
Err_Command65_Click:
MsgBox Err.Description
Resume Exit_Command65_Click
End Sub
button to preview a report and would like to add this feature if possible.
Here's the code for the preview button:
Private Sub Command65_Click()
On Error GoTo Err_Command65_Click
Dim stDocName As String
stDocName = "Quotation"
DoCmd.OpenReport stDocName, acPreview, , "[QQuote#] = " & Me![QQuote#]
Exit_Command65_Click:
Exit Sub
Err_Command65_Click:
MsgBox Err.Description
Resume Exit_Command65_Click
End Sub