Code:
Sheets("File A").Activate
Range("A1:F65530").Select
'***************************select all cells in this sheets
Selection.Select
'***************************select all lines except title
Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select
'***************************copy cells selected in the new sheet on last line
Selection.Copy
Sheets("combined").Range("A65536").End(xlUp)(2).PasteSpecial Paste:=xlPasteValues
Sheets("File B").Activate
Range("A1:F65530").Select
'***************************select all cells in this sheets
Selection.Select
'***************************select all lines except title
Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select
'***************************copy cells selected in the new sheet on last line
Selection.Copy
Sheets("combined").Range("A65536").End(xlUp)(2).PasteSpecial Paste:=xlPasteValues
Sheets("File C").Activate
Range("A1:F65530").Select
'***************************select all cells in this sheets
Selection.Select
'***************************select all lines except title
Selection.Offset(1, 0).Resize(Selection.Rows.Count - 1).Select
'***************************copy cells selected in the new sheet on last line
Selection.Copy
Sheets("combined").Range("A65536").End(xlUp)(2).PasteSpecial Paste:=xlPasteValues
The combine does not work properly.
What's the meaning of the number two between bracket in End(xlUp)(2)?
I need to paste the data from the next empty cell in column A. is the code correct? I cannot read any reference to column A