Keywrod1 and Keyword2 are themselves keywords. Hope it is clear now.
Instead of keyword1 and keyword2 let's say "Keywrod1" is "[Code1]" and keyword2 as "[/Code1]"

Search: "Keywrod1" alias "[Code1]"
Search: "Keywrod2" alias "[/Code1]"
copy text between them in cells as shown in the excel sheet.