I am trying to Pop-up a message something like,
"There are 3 Reports available . They are Today, Yesterday, Day before"
This is the code,
On Error Resume Next
For Each a In MonthYear
arr.Add a, a
Next
For i = 1 To arr.Count
Cells(i, 1) = arr(i)
Next
MsgBox ("There are " & arr.Count & " Reports available. They are " & arr &
But it is not working. It says sub or argument not found.