Copy range in string.

Vagelisr

New Member
Joined
Sep 22, 2016
Messages
28
Office Version
  1. 2010
  2. 2007
Platform
  1. Windows
Hi to all.
I would like to know if it is possible to copy a range in a string and after paste the string in a excel sheet.
This is the range i need to copy......
Code:
        Set rHdr = Range("A" & i & ":" & "P" & i)
        Set rDtl = Range("A" & i & ":" & "K" & i)
        Set r0 = Range("Q" & i & ":" & "AT" & i)
        Set r1 = Range("Q" & i & ":" & "S" & i)
        Set r2 = Range("T" & i & ":" & "V" & i)
        Set r3 = Range("W" & i & ":" & "Y" & i)
        Set r4 = Range("Z" & i & ":" & "AB" & i)
        Set r5 = Range("AC" & i & ":" & "AE" & i)
        Set r6 = Range("AF" & i & ":" & "AH" & i)
        Set r7 = Range("AI" & i & ":" & "AK" & i)
        Set r8 = Range("AL" & i & ":" & "AN" & i)
        Set r9 = Range("AO" & i & ":" & "AQ" & i)
        Set r10 = Range("AR" & i & ":" & "AT" & i)

The reason is i need to check some specific cells and copy them in another excel file.....

Thanks and regards
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Hi Oscar and thanks for your time.
No. I want to paste it into all the cells I've copied.
If I've copied 10 cells in, I want when I'm paste it "catch" 10 cells again.

Thanks and sorry for my English :)
 
Upvote 0

Forum statistics

Threads
1,224,825
Messages
6,181,189
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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