I think this is what you need. This code is using the On Click event of your command button.
Change "cmdYourButton" to the name of your command button.
Private Sub cmdYourButton_Click()
Dim strMsg1 As String, strTitle1 As String
Dim strMsg2 As String, strTitle2 As String
Dim intResponse As Integer
strMsg1 = "Do you wish to Print the Report?"
strTitle1 = "Print Report?"
strMsg2 = "You Canceled the Print Operation."
strTitle2 = "Cancel Print"
intResponse = MsgBox(strMsg1, vbOKCancel, strTitle1)
If intResponse = vbOK Then
'Place your code here to open the report
Else
MsgBox strMsg2, vbOKOnly, strTitle2
'....Do whatever if Cancel is chosen
End If
End Sub
HTH
RDH
[This message has been edited by R. Hicks (edited 04-29-2000).]