My programming skills are somewhat limited and I'm wondering if there is a better way of writing the following? I'm just interested to learn and make better code 
As you can see it's duplicated, I'm sure there's a better way, I just don't know what it is.

Code:
Private Sub Preview_Click()
On Error GoTo Err_Preview_Click
If IsNull([AccountCustomer]) Or [AccountCustomer] = "" Then
MsgBox "Please select a Customer", vbInformation + vbOKOnly, "Error"
DoCmd.GoToControl "AccountCustomer"
Else
If IsNull([Month]) Or [Month] = "" Then
MsgBox "Please select a Month", vbInformation + vbOKOnly, "Error"
DoCmd.GoToControl "Month"
Else
If IsNull([Year]) Or [Year] = "" Then
MsgBox "Please select a Year", vbInformation + vbOKOnly, "Error"
DoCmd.GoToControl "Year"
Else
DoCmd.OpenReport "r_account_statements", acPreview, , "CustID LIKE '" & Me.AccountCustomer & "'"
End If
End If
End If
Exit_Preview_Click:
Exit Sub
Err_Preview_Click:
If Err = 2501 Then
Else
MsgBox "Error# " & Err.Number & " " & Err.Description
End If
Resume Exit_Preview_Click
End Sub
Private Sub Print_Click()
On Error GoTo Err_Print_Click
If IsNull([AccountCustomer]) Or [AccountCustomer] = "" Then
MsgBox "Please select a Customer", vbInformation + vbOKOnly, "Error"
DoCmd.GoToControl "AccountCustomer"
Else
If IsNull([Month]) Or [Month] = "" Then
MsgBox "Please select a Month", vbInformation + vbOKOnly, "Error"
DoCmd.GoToControl "Month"
Else
If IsNull([Year]) Or [Year] = "" Then
MsgBox "Please select a Year", vbInformation + vbOKOnly, "Error"
DoCmd.GoToControl "Year"
Else
DoCmd.OpenReport "r_account_statements", acViewNormal, , "CustID LIKE '" & Me.AccountCustomer & "'"
End If
End If
End If
Exit_Print_Click:
Exit Sub
Err_Print_Click:
If Err = 2501 Then
Else
MsgBox "Error# " & Err.Number & " " & Err.Description
End If
Resume Exit_Print_Click
End Sub
As you can see it's duplicated, I'm sure there's a better way, I just don't know what it is.