Sub jec()
ReDim ary(40000, 0)
Dim sh, ar, j As Long, x As Long
For Each sh In Sheets
ar = sh.UsedRange.Columns(1)
For j = 1 To UBound(ar)
If ar(j, 1) <> "" Then
ary(x, 0) = ar(j, 1)
x = x + 1
End If
Next
Next
Sheets.Add(,Sheets(Sheets.Count)).Cells(1).Resize(x) = ary
End Sub
Sub jecc()
Dim sh, ar, j As Long
With CreateObject("scripting.dictionary")
For Each sh In Sheets
ar = sh.UsedRange.Columns(1)
For j = 1 To UBound(ar)
If ar(j, 1) <> "" Then .Item(.Count) = Array(ar(j, 1), 0)
Next
Next
Sheets.Add(, Sheets(Sheets.Count)).Cells(1).Resize(.Count) = Application.Index(.items, 0, 0)
End With
End Sub
Sub One_Way_Maybe()
Dim i As Long, sh1 As Worksheet, dataArr
Sheets.Add(Before:=Sheets(1)).Name = "FirstSheet"
Set sh1 = Sheets("FirstSheet")
For i = 2 To ThisWorkbook.Worksheets.Count
With sh1
dataArr = Sheets(i).UsedRange.Columns(1).Value
.Cells(.Rows.Count, 1).End(xlUp).Offset(1).Resize(UBound(dataArr)).Value = dataArr
End With
Next i
End Sub
=VSTACK('sheet1:sheet85'!A1:A1000)
Sub jec()
ReDim ary(40000, 0)
Dim sh, ar, j As Long, x As Long
For Each sh In Sheets
ar = sh.UsedRange.Columns(1)
For j = 1 To UBound(ar)
If ar(j, 1) <> "" Then
ary(x, 0) = ar(j, 1)
x = x + 1
End If
Next
Next
Sheets.Add(,Sheets(Sheets.Count)).Cells(1).Resize(x) = ary
End Sub