zarafe,
Welcome to the forum!
Attached is an example workbook based on the criteria you described.
There are two worksheets, the first one is named "Database", the second one is named "Update List"
In sheet "Database":- Row 1 is a header row so actual data starts on row 2
- Column C is what will be updated to the word "Attended" for matching emails"
- Column F contains email addresses
- The ones that will be updated are highlighted yellow to make them easier to find by hand
- You'll notice there is a button with the text "Run Macro", that button will run the macro code provided below
In sheet "Update List":- This sheet is intended only to be used for the entry of email addresses that you want to find in sheet "Database"
- As such, there is no header row and data starts on row 1
- Column A contains the list of email addresses to find so that their respective column C entries can be updated to "Attended"
The "Run Macro" button will run this code when clicked:
How to use a macro:- Make a copy of the workbook the macro will be run on
- Always run new code on a workbook copy, just in case the code doesn't run smoothly
- This is especially true of any code that deletes anything
- In the copied workbook, press ALT+F11 to open the Visual Basic Editor
- Insert | Module
- Copy the provided code and paste into the module
- Close the Visual Basic Editor
- In Excel, press ALT+F8 to bring up the list of available macros to run
- Double-click the desired macro (I named this one tgr)
Bookmarks