'需要在excel“Sheet1”的A列中设置employee(0),employee(1)......,employee(25)的值。
Sub testingarray()
For n = 0 To n = 25
employee(n) = Chr(n + 65)
Next n
For n = 0 To n = 25
MsgBox employee(n)
Next n
End Sub
'Tried to use this:** Please say if am wrong
Public Sub putvalue()
Range("A1").Value = employee(0)
'Sheets("Sheet1").Cells(1, 1).Value = employee(n)
n = n + 1
End Sub