各位大大,
以下為個人寫滴VB程式碼:
Dim WeeK As String
WeeK = InputBox ("請輸入一星期7天的英文單字:")
Select Case Week
Case "sunday" : Print "Sunday 是星期日"
Case "monday" : Print "Monday 是星期一"
Case "tuesday" : Print "Tuesday 是星期二"
Case "wednesday" : Print "Wednesday 是星期三"
Case "thursday" : Print "Thursday 是星期四"
Case "friday" : Print "Friday 是星期五"
Case "saturday" : Print "Saturday 是星期六"
End Select
End Sub
但是輸入英文大寫就無法顯示.
請問該如何使用Lcase,若輸入大寫直接強迫轉換為小寫?
謝