The routine illustrated below is from Alan Thompson found HERE at CADTutor.
This routine lets you select a block and place a multileader that contains the name of the block. The arrowhead or leader point is automatically placed at the block’s insertion point. So if you would like to change the placement, you can do so afterwards.
Please refer to the above link of the source where Alan posted the code for any questions or comments and also giving him a “thank you” in regards to the routine.