Thanks!

What does the following line do in the ways of selecting the code fields or texts?
Code:
If Trim(Split(UCase(.Code.Text), "MERGEFIELD")(1)) = "Label" Then
I replaced 'Label' with the relevant information and left 'MERGEFIELD' in place.
The code runs and opens/closes all the relevant docs but the result comes up empty which I know can't be true. It might be that I need to replace 'MERGEFIELD' with something but doing so makes the code stop running in this line. If I then mouse over '.Code.Text' it shows me an unrelated fieldname as a value.