All,
I have a report that goes out to multiple reps. I have a piece of code that pulls the data down via an ODBC driver, and then breaks out the individual detail by rep into seperate worksheets, and labels each worksheet with the reps name.
Now, I want to password secure each worksheet so that they are not tempted to look at each other's information.
I have a column in the main data pull that has a unique employee # that I would like to use as the password.
Do you guys have any idea how I would go about getting this done. I assume I would create a form of some kind to prompt the user to enter their employee #, and I obviously want to hide the main worksheet.
I really need the code to do some sort of lookup from the main worksheet to derive employee # and possibly name as the report will change month by month, and I can't put static rep names into the code.
Would be happy to buy someone a cold beer in exchange for some help!
