Private Sub commandButton1_Click()
If UserForm1.OptionButton1.Value = True Then
Sheets("○○").PrintPreview
ElseIf UserForm2.OptionButton1.Value = True Then
Sheets("××").PrintPreview
End If
End Sub
Private Sub commandButton1_Click()
If UserForm1.OptionButton1.Value = True Then
Unload Me
Sheets("○○").PrintPreview
ElseIf UserForm1.OptionButton2.Value = True Then
Unload Me
Sheets("××").PrintPreview
End If
End Sub