‘壹’ 下面VBA程序为什么在运行时会提示ReDim Preserve score(num)缺少数组
Dim score As Integer你定义的不是数组变量 所以不能redimDim score() As Integer即可