Hi
Try the following macro codes
Sub Macro1()
Dim d As Integer, a As Integer
d = 2
Sheets.Add.Name = "Consolidated"
For a = 2 To Sheets.Count
d = Worksheets("consolidated").Cells(Rows.Count, 1).End(xlUp).Row
Worksheets(a).Range("Z3:AF64").Copy
Worksheets("consolidated").Range("A" & d + 1).PasteSpecial
Next a
Worksheets("consolidated").SaveAs Filename:="D:\My Documents\consolidated.txt", FileFormat:= _
xlText, CreateBackup:=False
End Sub
run the macro. It inserts a sheet called consolidated and collates data from Z3:AF64 of all sheets and saves it as text file
Ravi
Bookmarks