Copy Range and Paste into new Sheet

naise

New Member
Joined
Apr 18, 2018
Messages
5
Hi, I need some help.

I have a list of information provided and I need to copy a specific range and paste it into a new sheet

RC 1
xxx xxx xxxx
xxx xx xxxx
xx xxx xxx

RC 3
xxx xxx xxxx
xxx xx xxxx
xx xxx xxx

RC 2
xxx xxx xxxx
xxx xx xxxx
xx xxx xxx

the 1 / 3 / 2 might not be in sequence

Is there a way to copy the entire information in "RC 1" till 1 row before "RC 3" and paste it into a new Sheet called "RC 1"?
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi & welcome to MrExcel.

How about
Code:
Sub RC_1()
   Dim Ar As Areas
   Dim i As Long
   
   Set Ar = Range("A:A").SpecialCells(xlConstants).Areas
   For i = 1 To Ar.count
      If Ar(i).Resize(1, 1).Value = "RC 1" Then
         Sheets.Add.Name = "RC 1"
         Ar(i).EntireRow.Copy Sheets("RC 1").Range("A1")
      End If
   Next i
End Sub
 
Upvote 0
I looked at this post but did not know what RC1 meant.
Sometimes we use

R1C1

Which means Row 1 Column 1

And its sort of odd to name your sheet RC1
And paste it where on sheet RC1

I maybe could help if you explained what you wanted without using RC1
 
Upvote 0
Sorry for the confusion.. RC 1 is actually not row or column.. It is the title for my work.. recreation 1 recreation 3 etc
 
Upvote 0
And so how do we know what range of data you want to copy?

Are you saying you want to copy a Range named RC1
 
Upvote 0
So basically
Recreation 1 has information below

Recreation 1
Xxxx Xxxx Xxxx (3 columns)
Xxxx Xxxx Xxxx (3 columns)

Recreation 3..
Xxx Xxxx xxx
Xxx
X

Recreation 2

Wanna copy Information from Recreation 1 to 1 line before Recreation 3 but the number of rows differ each time the report is re-populated
 
Upvote 0
Someone else I believe will need to help you.

I do not know what Recreation 1 is.


We normally use terms like:
Worksheet names
Ranges
Named ranges

I have no ideal what Recreation 1 is.
 
Upvote 0
Are there blank rows below the RC1?
Also is the info you want to copy hard values, or formulae?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top