tiredofit
Well-known Member
- Joined
- Apr 11, 2013
- Messages
- 1,924
- Office Version
- 365
- 2019
- Platform
- Windows
How can I display the contents of an array in a messagebox?
This fails on the MsgBox line.
Thanks
This fails on the MsgBox line.
Code:
Dim MyArray(1 To 3, 1 To 1) As Variant
MyArray(1, 1) = 1
MyArray(2, 1) = 2
MyArray(3, 1) = 3
MsgBox MyArray
Thanks
Last edited: