求一个function过程!
编写一个输入0~6数字、显示汉字对照输出星期的function过程 题目是这样的过程.........
Public Function GetWeekDayForChina(Byval num As Integer) As String Select Case num Case 0 GetWeekDayForChina="星期一" Case 1 GetWeekDayForChina="星期二" Case 2 GetWeekDayForChina="星期三" Case 3 GetWeekDayForChina="星期四" Case 4 GetWeekDayForChina="星期五" Case 5 GetWeekDayForChina="星期六" Case 6 GetWeekDayForChina="星期天" End Select End Function