Please see code below. The error in the title is occurring on each advanced filter line. I\'ve made sure that the header row from the extract range matches exactly to the cr