jardenp
Active Member
- Joined
- May 12, 2009
- Messages
- 373
- Office Version
- 2019
- 2016
- 2013
- 2011
- 2010
- Platform
- Windows
Column A in Book1-Sheet1 has a mix of blanks and values. Many of the values will be "U" followed by a 9-digit number starting with "1" (for example U101222333). In Book 2-Sheet1 Column A there is a master list of "U1" numbers. I can't figure out how to compare the Book1 "U1" numbers to the Book2 master list. I would like VBA code to 1) return (say to variable "U1errors") the number of "U1" numbers in Book1-Column A that are not in Book2-Column A and 2) highlight the cells in Book1-Column A that contain "U1" numbers not found in Book2.
Any suggestions? I can think of a really messy way to get the number of errors, but the highlighting is beyond my modest skills. Besides, this is the place to come to for elegant alternatives to my messy code!
Thanks,
JP in IN
Any suggestions? I can think of a really messy way to get the number of errors, but the highlighting is beyond my modest skills. Besides, this is the place to come to for elegant alternatives to my messy code!
Thanks,
JP in IN