Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I have a worksheet of data. I would like some code that will search down column F for 'RBK' when found copy cells C:J of the next row, paste this into next avaiable row in column Z. Then copy next rows cells C:J and paste again into next available row in row Z - keep doing this until there is a blank cell in column F eg the data below is a sample, the RBK is found in cell F4, so as a result the following 3 lines of data should be copy/pasted to next available row in column Z. the 4th,5th and 6th are NOT copies as there is a gap (or empty row) between the sets of data. ..............................RBK 619994 Johnson 04J08G 4DK A5 4:45 13:15 777264 Kaleem 04J08G 1FJ A5 4:45 13:15 704825 Afshan 04J08G 4DK A5 4:45 13:15 701636 Young 04J08G 4FJ A5 4:45 13:15 811513 Carver 06A08G 4DK A5 6:00 14:30 681142 Crowther 06A08G SPA A5 6:00 14:30 ...Hope this makes sense and thanks in advance for your help |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to stop formulas from incrementing when you copy and paste? | Excel Worksheet Functions | |||
VBA Code- Copy & Paste in Blank Range | Excel Discussion (Misc queries) | |||
Search / Copy / Paste | Excel Programming | |||
VBA-code for search,copy and paste | Excel Discussion (Misc queries) | |||
Search-Copy and Paste-code | Excel Programming |