That lisp has my name in it, written for a particular situation, I would do slightly different now just get all blocks, make table and ask do you want Excel as well. Table needs cleaning up. Make header row bigger, change columns sizes to reflect values use 2 line text. eg No Of Bars
Not sure why there all background mtext box, hard to read.
Not sure why I used hit test when insertrows works better.
Question where is "No of Bars" coming from ?