Hopefully this makes sense...
The first sheet we will call "Pick" and is formatted like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]SKU[/TD]
[TD]Description[/TD]
[TD]Call Name[/TD]
[TD]BC[/TD]
[TD]QTY[/TD]
[TD]B/O[/TD]
[TD]Aisle[/TD]
[TD]Row[/TD]
[TD]Tier[/TD]
[TD]Truck[/TD]
[TD]Stop[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1234567[/TD]
[TD]Blah Blah[/TD]
[TD]Blah[/TD]
[TD]_____[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]301[/TD]
[TD]A[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
There is an empty row under every entry. The headers above are for display and the sake of clarity, the actual Pick sheet is a daily data dump with 9 extra rows before the first entry.
The second sheet is "Route" which will also change daily, formatted as:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Area[/TD]
[TD]Truck[/TD]
[TD]Stop[/TD]
[TD]Door[/TD]
[TD]LS[/TD]
[/TR]
[TR]
[TD]Blah[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]702[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
What I'm trying to figure out is how to take each combo of Truck/Stop from the Route worksheet, find all instances of it in the Pick worksheet, and replace it with the corresponding Door/LS combo. The Pick example above would then become:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]SKU[/TD]
[TD]Description[/TD]
[TD]Call Name[/TD]
[TD]BC[/TD]
[TD]QTY[/TD]
[TD]B/O[/TD]
[TD]Aisle[/TD]
[TD]Row[/TD]
[TD]Tier[/TD]
[TD]Truck[/TD]
[TD]Stop[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1234567[/TD]
[TD]Blah Blah[/TD]
[TD]Blah[/TD]
[TD]_____[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]301[/TD]
[TD]A[/TD]
[TD]1[/TD]
[TD]702[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I don't know what the logic would be to accomplish this so unfortunately I don't have relevant sample code yet.
The first sheet we will call "Pick" and is formatted like this:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]SKU[/TD]
[TD]Description[/TD]
[TD]Call Name[/TD]
[TD]BC[/TD]
[TD]QTY[/TD]
[TD]B/O[/TD]
[TD]Aisle[/TD]
[TD]Row[/TD]
[TD]Tier[/TD]
[TD]Truck[/TD]
[TD]Stop[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1234567[/TD]
[TD]Blah Blah[/TD]
[TD]Blah[/TD]
[TD]_____[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]301[/TD]
[TD]A[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
There is an empty row under every entry. The headers above are for display and the sake of clarity, the actual Pick sheet is a daily data dump with 9 extra rows before the first entry.
The second sheet is "Route" which will also change daily, formatted as:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Area[/TD]
[TD]Truck[/TD]
[TD]Stop[/TD]
[TD]Door[/TD]
[TD]LS[/TD]
[/TR]
[TR]
[TD]Blah[/TD]
[TD]1[/TD]
[TD]1[/TD]
[TD]702[/TD]
[TD]1[/TD]
[/TR]
</tbody>[/TABLE]
What I'm trying to figure out is how to take each combo of Truck/Stop from the Route worksheet, find all instances of it in the Pick worksheet, and replace it with the corresponding Door/LS combo. The Pick example above would then become:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]SKU[/TD]
[TD]Description[/TD]
[TD]Call Name[/TD]
[TD]BC[/TD]
[TD]QTY[/TD]
[TD]B/O[/TD]
[TD]Aisle[/TD]
[TD]Row[/TD]
[TD]Tier[/TD]
[TD]Truck[/TD]
[TD]Stop[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1234567[/TD]
[TD]Blah Blah[/TD]
[TD]Blah[/TD]
[TD]_____[/TD]
[TD]1[/TD]
[TD][/TD]
[TD]301[/TD]
[TD]A[/TD]
[TD]1[/TD]
[TD]702[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I don't know what the logic would be to accomplish this so unfortunately I don't have relevant sample code yet.