NessPJ
Active Member
- Joined
- May 10, 2011
- Messages
- 431
- Office Version
- 365
Hey all,
I have a sheet containing 2 "Areas" which each have 3 columns of Data. Both are fairly similar, yet for my use i want to do the folowing:
Area 1:
Column C, D and E
Column C = Route number
Column D = Trailer number
Column E = Departure time
Area 2:
Column G, H and I
Column G = Route number
Column H = Transporter
Column I = Departure time
I am looking for a code that will search for a specific Transporter name in Column H. When it has found it, i want it to Cut this Cell as well as the 2 Cells next to it on the same Row (so the cells in columns G and I).
Then i want the code to paste the cut cells on the first available Row of Cells in Area 1 (Columns C, D and E).
This code should loop until the Transporter name i am looking for is no longer present in Column H.
--
I tried creating a macro that will Find the transporter name and will Cut the cells in question, but i don't know how i will make my code specify to cut the other 2 cells in the same row nor do i know how to make it loop.
Any help would be greatly appreciated.
I have a sheet containing 2 "Areas" which each have 3 columns of Data. Both are fairly similar, yet for my use i want to do the folowing:
Area 1:
Column C, D and E
Column C = Route number
Column D = Trailer number
Column E = Departure time
Area 2:
Column G, H and I
Column G = Route number
Column H = Transporter
Column I = Departure time
I am looking for a code that will search for a specific Transporter name in Column H. When it has found it, i want it to Cut this Cell as well as the 2 Cells next to it on the same Row (so the cells in columns G and I).
Then i want the code to paste the cut cells on the first available Row of Cells in Area 1 (Columns C, D and E).
This code should loop until the Transporter name i am looking for is no longer present in Column H.
--
I tried creating a macro that will Find the transporter name and will Cut the cells in question, but i don't know how i will make my code specify to cut the other 2 cells in the same row nor do i know how to make it loop.
Any help would be greatly appreciated.