Developer technologies | Visual Basic for Applications
An implementation of Visual Basic that is built into Microsoft products.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to paste to a defined object but it is not working, any help please!
Sub Macro_RBC()
Dim rng As Range
Set rng = Worksheets("RBC OA").Range("B1").End(xlDown).Offset(1, 0)
Range("A1:D10").Copy _
Destination:=Worksheets("RBC OA").rng
An implementation of Visual Basic that is built into Microsoft products.
Try this:
. . .
Range("A1:D10").Copy Destination:=rng