I have 3 option to pick which I need that the time
I have codes to pick which on to print. I have one button
Private Sub PrintButton_Click()
Dim selectedOption As Integer
‘ Get user selection from option buttons
selectedOption = GetSelectedOption()
Select Case selectedOption
Case 1
PrintLast3Months
Case 2
PrintLastMonthToCurrent
Case 3
PrintCurrentMonth
Case Else
MsgBox “Please select an option.”, vbExclamation
End Select
End Sub
I have codes to pick which on to print. I have one buttonPrivate Sub PrintButton_Click()
Dim selectedOption As Integer
‘ Get user selection from option buttons
selectedOption = GetSelectedOption()
Select Case selectedOption
Case 1
PrintLast3Months
Case 2
PrintLastMonthToCurrent
Case 3
PrintCurrentMonth
Case Else
MsgBox “Please select an option.”, vbExclamation
End Select
End Sub Read More