Offset after copying AB lines from one field to another

Towards the end of this thread is where I have been working on it. Currently away from computer. When I get back next week, I will post the code to export and import ABLines.