VBA Copy & paste

ChetanPuri

Board Regular
Joined
Sep 5, 2018
Messages
80
Office Version
  1. 365
Platform
  1. Windows
Hi Excel Coding Gurus,

Is there a VBA which can help me to copy and past the data from this column to another worksheet name APLOAD on Column K 6 onwards, Q6, R6 and S6 onwards, any help would be much appreciated


V4 Telstra Download 2024-11-21.xlsm
TUV
1Tex Split
2R2402104PR
3D100130MT
4D100130MT
5D100160MT
6D100160MT
7D100140MT
8C2410800PR
9C2410800PR
10C2420800PR
11C2410800PR
12C2410800PR
13C2410800PR
14C2410800PR
1540719240
1610119240
1711229392
1810119240
1940719240
2040739710
21DN04B0800PR
22NC0152PR
2350868416
2411229392
2540939240
2650868416
2750868416
2850908416
2911229392
3021609240
3140719240
3240119240
3310119240
3440119240
3540119240
3610119240
3740119240
38DM250100MT
3910119240
4010119240
4121609240
42DM250100MT
4310119240
4440719240
45DM250100MT
4621609240
47DN03D0800PR
48DN205001OH
4910559710
5040939710
5140719710
5240719710
5350909710
5450869710
5550869710
5650909710
5750909710
5850869710
5950869710
6050909710
6150909710
6211229390
6350869710
6450909710
6540739710
66M2311040PR
67D2121075PR
68D2121075PR
69D2121075PR
70D2121075PR
71C2410700PR
72C2410700PR
73D2121075PR
7410119720
7510119720
76D2121075PR
7710119720
7810119720
79C2410700PR
8021609720
8121609720
82C2410700PR
83C2420700PR
8421609720
85C2420700PR
86C2410700PR
87C2410700PR
8860559720
89D2121075PR
9011229391
9160559720
92D2121075PR
93C2410700PR
9450909720
9550909720
9650909720
9750909720
9860559720
9950869720
10050869720
10150869720
10250909720
10310559720
10410559720
10510559720
10621609720
107C2420700PR
108C2410700PR
10950869720
11060559720
11150919720
11210119720
113DN03D0700PR
11450869720
11510119720
11640119720
117C2420700PR
11810119720
119C2410700PR
120C2420700PR
121DN04B0700PR
12260559720
123D2121075PR
12411229391
125D2121075PR
126D2121075PR
127DN04B0700PR
128D2121075PR
129C2420700PR
130C2410700PR
13111229391
13250909720
13350869720
13450869720
13550909720
13611229391
137D2121075PR
138D2121075PR
139D2121075PR
140D2121075PR
141C2410700PR
142D2121075PR
14350909720
144D2121075PR
145C2410700PR
146D2121075PR
147D2121075PR
148C2410700PR
149D2121075PR
15050869720
15150919720
152C2420700PR
153C2410700PR
15411229391
155D2121075PR
156D2121075PR
15740119720
15840709720
15940709720
160C2410700PR
161NC0152PR
162D2121075PR
163D2121075PR
16440119720
165D2121075PR
166D2121075PR
167D2121075PR
168C2410700PR
169C2410700PR
170D2121075PR
171D2121075PR
17250909720
17350869720
174C2410700PR
175C2420700PR
176D2121075PR
17710559720
17840739710
17950909710
18050869710
18140739710
18240719241
18340719241
18440719241
18540719242
18640719242
18740719242
18840719242
18940719242
19040719242
19140719242
19240719242
19340719242
19440719242
19540719242
Detail Report
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
I'm not sure if I understood you well, so try it on a copy of original file:
VBA Code:
sub test()
dim lr as long
lr = cells(rows.count,"T").end(xlup).row
Range("T2:T" & lr).copy Sheets("APLOAD").Range("K6").resize(lr-1,1)
Range("U2:U" & lr).copy Sheets("APLOAD").Range("Q6").resize(lr-1,1)
Range("V2:V" & lr).copy Sheets("APLOAD").Range("R6").resize(lr-1,1)
end sub
 
Upvote 0

Forum statistics

Threads
1,223,999
Messages
6,175,886
Members
452,679
Latest member
darryl47nopra

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