Hello everyone,

I need to modify some very large router configurations for 20+ routers and need to look for a string, for examples sake: String: primary "igp", does the next row contain the text adaptive? no, insert a row below it, and add the word, adaptive, if it does contain adaptive, move on. The reason for needing to search for the text strings is that some of the data will already contain the word adaptive and doesn't need to change, and the row count between the text may change if additional commands are on that configuration. Meaning I can't do a "count 10 rows, insert row, insert text" type macro, it has to look for the text strings.

Book2.xlsm