I have 18 departments and each has an Absence workbook of 13 sheets, one per month and a summary. I have just ammended the sheets (13 sheets X 18 workbooks)and thanks to Dave Wilson on Tek-Tip managed it via VB making it less painful.
As I am thinking ahead to next year is there any way I can have all departments data in one workbook and use a form to get the user to log in and apply a filter form the login form to show just his or her department?
It would also need a password to prevent them from seeing other departments data but they are not "Power Users" so it needn't be bullet proof.
So what I want to do is
On open display form, select dept from combo box and type password into a text box. Check the dept name against a password on a hodden sheet.
If ok
Apply filter to all sheets (April - March and Summary where dept = combo box selection
If password is wrong exit Excel
I can do this in Access but they don't us that so I am stuck with Excel and my Vb is weak
Thanks in advance (Again) Neil Berryman
IT Trainer
neil_berryman@btopenworld.com
As I am thinking ahead to next year is there any way I can have all departments data in one workbook and use a form to get the user to log in and apply a filter form the login form to show just his or her department?
It would also need a password to prevent them from seeing other departments data but they are not "Power Users" so it needn't be bullet proof.
So what I want to do is
On open display form, select dept from combo box and type password into a text box. Check the dept name against a password on a hodden sheet.
If ok
Apply filter to all sheets (April - March and Summary where dept = combo box selection
If password is wrong exit Excel
I can do this in Access but they don't us that so I am stuck with Excel and my Vb is weak
Thanks in advance (Again) Neil Berryman
IT Trainer
neil_berryman@btopenworld.com