If I understand you correctly, you want to update the name list on StaffInfo.xls Sheet2 whenever the names on DBOutput.xls Sheet1 may change.
Place both StaffInfo.xls and DBOutput.xls in same location.
Alt + C >> Copy macro below
Open StaffInfo.xls
Alt + F11 >> Opens VBE
Alt + I, M >> Inserts new module
Alt + V >> Paste macor in new module
Alt + Q >> Close VBE & return to Excel
Where do I paste the code
in the name name manger update "names" with
=Sheet2!$A$1:INDEX(Sheet2!$A:$A,MATCH(REPT("Z",255),Sheet2!$A:$A))
This will make the list dynamic as the list grows or shrinks.
Bookmarks