in reply to Re: Print Lines above and below stringin thread Print Lines above and below string
That code provided me with what I needed. Thanks for your help.