Hello, first time posting here.
I've got this master sheet macro that used to work to merge all my tabs into one sheet for printing purposes, but now it gives me a "Run-time error '1004: We can't paste because the Copy are and paste area aren't the same size". It only started happening as I created a new tab/sheet.
Here's the macro;
Sub Merge()
Dim ws As Worksheet
ActiveSheet.UsedRange.Offset(0).Clear
For Each ws In ActiveWorkbook.Worksheets
If ws.Name <> ActiveSheet.Name And ws.Name <> Sheets("CSI List").Name And ws.Name <> Sheets("List").Name Then
ws.UsedRange.Offset(6).Copy
With Range("A65536").End(xlUp).Offset(1)
.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
End With
End If
Next
End Sub
Any help as to why this is happening would be greatly appreciated.
I've got this master sheet macro that used to work to merge all my tabs into one sheet for printing purposes, but now it gives me a "Run-time error '1004: We can't paste because the Copy are and paste area aren't the same size". It only started happening as I created a new tab/sheet.
Here's the macro;
Sub Merge()
Dim ws As Worksheet
ActiveSheet.UsedRange.Offset(0).Clear
For Each ws In ActiveWorkbook.Worksheets
If ws.Name <> ActiveSheet.Name And ws.Name <> Sheets("CSI List").Name And ws.Name <> Sheets("List").Name Then
ws.UsedRange.Offset(6).Copy
With Range("A65536").End(xlUp).Offset(1)
.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
.PasteSpecial Paste:=xlFormats, Operation:=xlNone, SkipBlanks:= _
False, Transpose:=False
End With
End If
Next
End Sub
Any help as to why this is happening would be greatly appreciated.