I am trying to transpose 5 sheets of data (27 rows and 96 cols for each sheet) to a final sheet, with all accumulated data.
Problem 1: My macro stops at column 27 on the first sheet. Nothing I change will make it run more of the data, even on a single sheet. Problem 2: My array gives me "Runtime Error 424"
Sub transpose_to_total()
Dim raw As Worksheet
Dim tot As Worksheet
Dim count_col As Integer
Dim count_row As Integer
Set raw = Array("Sheet4", "Sheet5", "Sheet6", "Sheet7", "Sheet8")
Set tot = ThisWorkbook.Sheets(9)
tot.Cells.ClearContents
raw.Activate
count_row = WorksheetFunction.CountA(Range("A1", Range("A1").End(xlDown)))
count_col = WorksheetFunction.CountA(Range("A1", Range("A1").End(xlToRight)))
For i = 1 To count_row
For j = 1 To count_col
ns.Cells(i, j) = og.Cells(j, i).Text
Next j
Next i
tot.Activate