B
Buddy
I am always copying range C2
5 from Sheet1, however the range I am pasting
it into in Sheet 2 will be any one of these ranges.
Ranges
C5
8
C9
12
C13
16
C17
20
C21
24
C25
28
C33
36
C37
40
C41
44
C45
48
C49:C52
C53:C56
C57:C60
C61:C64
C65:C67
Can you help me add to the macro below so that it searches these ranges from
top to bottom and pastes the contents into the first empty range without
contents?
Sub FindEmptyRange()
Sheets("Sheet2").Range("C5
8").Value = _
Sheets("Sheet1").Range("C2
5).Value
Sheets("Sheet2").Activate
End Sub
For example ideally the macro will check range C5
8 on Sheet2 first. If
that range already has contents inside it then C9
12 will be checked. If
that range is empty the contents will be pasted into it, if not, the macro
will go to the next range C13:C16, and so on.
it into in Sheet 2 will be any one of these ranges.
Ranges
C5
C9
C13
C17
C21
C25
C33
C37
C41
C45
C49:C52
C53:C56
C57:C60
C61:C64
C65:C67
Can you help me add to the macro below so that it searches these ranges from
top to bottom and pastes the contents into the first empty range without
contents?
Sub FindEmptyRange()
Sheets("Sheet2").Range("C5
Sheets("Sheet1").Range("C2
Sheets("Sheet2").Activate
End Sub
For example ideally the macro will check range C5
that range already has contents inside it then C9
that range is empty the contents will be pasted into it, if not, the macro
will go to the next range C13:C16, and so on.