Frncis
Member
I have a command to ask a user if they want to set a popup calendar to the new month. However, when I debug i get an error message saying undeclared variable on this line:
Here is the entire code:
I know it is something very simple, but at present, I figure it out.
Range(“F9”).Select , True
Here is the entire code:
Code:
Sub Message()
Dim Msg As String, Ans As Variant
Application.Speech.Speak "Please check the date & year of the meeting dates this month,!! correct as necessary", SpeakAsync:=True
Application.Wait (Now + TimeValue("00:00:06"))
Application.Speech.Speak " Do you want to set the Calendar to the new month? ", SpeakAsync:=True
Msg = "Do you want to set the Calendar to the new month?"
Ans = MsgBox(Msg, vbYesNo, "Vocational Services - Reminder " & ActiveSheet.Name)
Select Case Ans
Case vbYes
Range(“F9”).Select , True
End Select
End Sub