Copying files with AppleScript

I am trying to use AppleScript to pull files from a folder that I have in a list. I have a folder with thousands of files in it. All of the files are named with the following setup:

A123456_John_Doe.tif

The A123456 number is different on each file. I also have an excel list of just the A123456 numbers that I need. I want to move/copy/highlight just the files that match the A123456 numbers that are in my list.

I am new to AppleScript so any suggestions would be appreciated!

The second responder in your previous post on this same subject was kind enough to supply you with some starter code, but you made no attempt at interaction or understanding. I can’t tell if you’re broadcasting for free assistance or are simply a bot. At any rate, when you ask the same question in multiple threads, you appear importunate and are less likely to receive help.

Not only did you not make an “attempt at interaction or understanding”, you didn’t even make an effort to modify the question !?! Wait, you changed the last line.