Hi HB129
What you want is code run from an "event" and the event to use is Worksheet_Change
1. Open your worksheet.
2. Press ALT+F11 (this will open the VBA Coding window)
3. In the left window, lick on the name of your Worksheet, and a code page will open on the right.
4. on the top of the coding page are two drop-down list boxes. In the Lefthand one, that says "General", pick "Worksheet". (Just ignore the code that pops up.)
5. In the righthand list, pick "Change"
6. in the blank row, type in MsgBox "worksheetChanged"
You should end up with something like:
Go back to your worksheet and enter a number. A box should pop up.
This is the starting point. You'll need to then write code to:
1. Test that you've changed a cell in the right column
2. Test that you've entered a valid number
3. Try to find the number in the list of valid numbers
4. Copy the information if the number's found . . . .
How are we doing?
James
Bookmarks