Lookatthis123
New member
- Local time
- Today, 10:33
- Joined
- Aug 30, 2007
- Messages
- 7
Hello all I was wonders if anyone knows how to do the following I know very little about code and all I really know is to copy and past it into Excel so any help would be appreciated.
I would like to copy information from several spreadsheets lets say from Sheet 1 to Sheet 200 all data to be copied into one sheet named Master.
Maybe a range would also be required per sheet so I don’t end up with a lot of blank lines.
The sample code I have copies but only the last page gets copied. Please help.
Here is the code:
Sub CopyIntoOne()
For Each thing In Array("Sheet1", "Sheet2", "Sheet3", "Sheet4", "Sheet5", "sheet6", "sheet7", "sheet8")
Sheets(thing).Range("A1
V10000").Copy
Sheets("Master").Range("A65536").End(xlUp).Offset(1).PasteSpecial
Next
End Sub
I would like to copy information from several spreadsheets lets say from Sheet 1 to Sheet 200 all data to be copied into one sheet named Master.
Maybe a range would also be required per sheet so I don’t end up with a lot of blank lines.
The sample code I have copies but only the last page gets copied. Please help.
Here is the code:
Sub CopyIntoOne()
For Each thing In Array("Sheet1", "Sheet2", "Sheet3", "Sheet4", "Sheet5", "sheet6", "sheet7", "sheet8")
Sheets(thing).Range("A1

Sheets("Master").Range("A65536").End(xlUp).Offset(1).PasteSpecial
Next
End Sub