Im getting "missing parameter"
What am I missing?
Thanks.
Select alarmHours
Case 0
timeset = ("12") & ":" & NumberFormat(alarmMinutes, 2, 0) & " AM"
Case < 12
timeset = (alarmHours ) & ":" & NumberFormat(alarmMinutes, 2, 0) & " AM"
Case 12
timeset = (alarmHours ) & ":" & NumberFormat(alarmMinutes, 2, 0) & " PM"
Case > 12 Then timeset = (alarmHours - 12) & ":" & NumberFormat(alarmMinutes, 2, 0) & " PM"
End Select
What am I missing?
Thanks.
Select alarmHours
Case 0
timeset = ("12") & ":" & NumberFormat(alarmMinutes, 2, 0) & " AM"
Case < 12
timeset = (alarmHours ) & ":" & NumberFormat(alarmMinutes, 2, 0) & " AM"
Case 12
timeset = (alarmHours ) & ":" & NumberFormat(alarmMinutes, 2, 0) & " PM"
Case > 12 Then timeset = (alarmHours - 12) & ":" & NumberFormat(alarmMinutes, 2, 0) & " PM"
End Select