Hello,
I have a problem I hope someone will be able to help me with. I am creating a database of information provided by different people using VLookup. Each person will complete one excel form and the results will be saved as separate files. All the information is then compiled into one database for further use. So far it works fine as long as the data for each person is included only once. If I update the information in the individual files and import it a second time into the database, it will be included as a completely new entry (i.e. a new column). What I want to do is for the macro to first look to see if that person already has a column and if so, then update that column without adding a new column. If no previous entry exists, then import all the data in the next available column (as it does now). One last point, I want the macro to get user verification before replacing the contents of a column if it already exists. This is just as a safety mechanism. I think this needs a combination of VLookup and Match but I don't know how to add this code to the existing macro.
Thanks in advance.
abousetta
P.S. Attachment contains a dummy database and two dummy files with information to update in the database.
Bookmarks