Is there any way to apply line numbering to only part of my document?

I am adding a number of appendices to an essay I am writing; one of these is a transcript I need to line number, however I can’t seem to find a way to select this segment alone to apply line numbering to. Any ideas?

The instructions in the relevant section of the Adding Line Numbers page work for me. Have you tried them?