Option Base 1Public Sub 测试()Dim arrDim xSet arr = ActiveSheet.UsedRangex = UBound(arr, 1)MsgBox xEnd Sub运行后 x = UBound(arr, 1) 这一行提示说数据类型不匹配 我搞不懂怎么就不匹配了? 查看完整描述