The goal of my code is to be able to take text from a word document and take lines for every instance that there is a keyword until the associated part number, so for exampl