Hello Gurus! I have muddled through with your examples and have a very rough solution for my task but I'm hoping to find a way to clean it up and make it easier to work with. I will be turning the task over to a newbie and they will not understand my rough work. I am a computer tech but can only just muddle through any programming.
I have one Excel 2010 Workbook with two Worksheets. "Phonelist" has five columns: Name, Email Address, Phone, Cell Phone and Birthday. "SDBM" is a sub-set of the PhoneList. The PhoneList changes from time to time, either with new additions or changes to existing data and when this happens, I want to automatically update "SDBM"
What I do now: (1) If I have NEW data, I enter ONE new name at a time in the PhoneLIst-- in the last row. (2) I jump to "SDBM" and click a button that runs a script that copies over the Name and Birthday fields from the last row of the PhoneLIst. If there is more than one new row, I have to jump back and forth as it will ONLY copy the last entry. (3) Then from SDBM I click a button that runs another macro that sorts the newly added row and places it in order by birthdate. The Age column is then filled in automatically. (4) I then have to format Worksheet "B" because my font and alignment is off. (5) Back to Worksheet "A" to run a Sort macro to place the new entry in alphabetic order by name.
What I would like to do is to update the PhoneList with ALL changes at one time then:
1. Sort the PhoneList so that the newly added data is in alphabetic order.
2. Compare PhoneList and SDBM. If there is new or changed data, update SDBM.
3. Sort SDBM so that the newly added data is in age order.
4. Calculate and populate the AGE field for the newly added rows in SDBM. Right now it is a complicated mess.
5. Make sure that font and alignment are set so that it is ready to be printed.
I have found various examples here and in other forums and have tried to piece them together for my purposes but most are too complicated for me at this point and I'm running out of time. If I was to continue doing this task I could keep working on it while using my current ugly procedures but, the new person will be very confused and frustrated, I'm sure.
Any help would be greatly appreciated. You will be helping a good cause and teaching me a few things too!
Thanks in advance!
Bookmarks