Community
If you'd like one that works on more than just Polylines, go to the thread that contains >>this Post<<, where there's one that puts the label at the middle of the object's length. But earlier in that thread are others that put it at the beginning [one of which may be the same as in this thread -- I haven't compared in detail]. Some are for Lines only, some for Polylines, and mine at the linked Post works on any kind of finite-length object with linearity.
Can't find what you're looking for? Ask the community or share your knowledge.