Hello
You forgot the ' in the formula:
Code:
"=Vlookup(A3,'" & CustomerSummary & "'!$A$3:$B$65536,2,0)"
(after the first comma and in front of the double quote ".
I also had to add a space in front of "Summary" in:
Code:
CustomerSummary = Left(ActiveSheet.Name, Len(ActiveSheet.Name) - 7) & "Summary"
By the way, do you really need such long ranges in your lookup?...



