Sorry, I wasn't very clear.
I have one main database where everything is entered. If column "A" says "Ken" then copy the whole row (10 columns) into a worksheet named "Ken". If column "A" says "Mike" then copy entire row into worksheet named "Mike".
And so on.
Ok, so you have a workbook containing an "entry" worksheet and separate worksheets for each person.
Basically:
You will need to use code to loop through the rows on the "entry" worksheet and determine the name in column A. Use the name to determine which "Person" worksheet to copy the data to.
Some considerations:
How do you want the data copied? (Append it to existing data on the "Person" sheet, replace existing data, etc...)
What happens to the data on the "entry" sheet? (Leave it where it is, delete it once copied, etc...)
What happens when a name is entered and there isn't a corresponding "Person" sheet? (Raise an error, create a new sheet, etc...)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.