Rebar numbers to excel

Hi Mike, can you share the script please?