Here is the trouble line
Workbooks("Most Up.xls").Worksheets(1).Range(Cells(1, 1), Cells(UBound(mostup, 1), UBound(mostup, 2))).Value = mostup
Similar lines have worked in other programs
When this line is executed:
mostup is a 2 dimensional array (1 to 64350, 1 to 31)
The array is being transposed over existing data on the worksheet
The range should be the same size as the array because of the Ubounds when defining the cells. I do not know where to go from here. I can provide more code if necessary.
Workbooks("Most Up.xls").Worksheets(1).Range(Cells(1, 1), Cells(UBound(mostup, 1), UBound(mostup, 2))).Value = mostup
Similar lines have worked in other programs
When this line is executed:
mostup is a 2 dimensional array (1 to 64350, 1 to 31)
The array is being transposed over existing data on the worksheet
The range should be the same size as the array because of the Ubounds when defining the cells. I do not know where to go from here. I can provide more code if necessary.