Had no luck figuring out how to code this in VBA.
I have a list of names on ws2 starting in cell A5. The size of this list will change daily. I want to vlookup each item from data on ws1. Then would like paste the data as values into corresponding cell in column C.
Picture below is what ws2 looks like. That's the vlookup formula I would have used if done manually.
Could also consider xlookup if you think it's better. Lookup array would be column A on ws1, return array would be column E.
Hoping to keep the code as simple as possible since this is my first VBA project. Any comments/explanations would be much appreciated!
Thanks!