呵呵,需要加一个转置函数 Application.Transpose(ActiveSheet.Range("a1:a10").Value )sub abc()Dim abcd() As Variantabcd = Application.Transpose(ActiveSheet.Range("a1:a10").Value)MsgBox UBound(abcd)For i = 1 To UBound(abcd)MsgBox (abcd(i))Nextend sub