Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default TIPS ON A GENERAL STRUCTURE TO START WITH, ANYBODY?

I want a workbook where all employees’ working hours, flexitime,
overtime, leave, etc can be recorded by themselves. Each would have
their own worksheet for viewing, inputting, amending, etc.

Restrictions. We have 4 levels: ‘Workers’, Team Leaders, a Section
Mgr, a Dept Mgr. Workers should have view/amend access to their own
worksheet, Team Leaders: view/amend access to their own + view only
access to all Workers, etc.

I’m thinking of a shared workbook with passwords for each type of
staff member. How would I do something like ‘Add new staff member’
bearing in mind that each staff worksheet has its own formulae in it
and macros associated with it?

Would be grateful for any general ideas.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 395
Default TIPS ON A GENERAL STRUCTURE TO START WITH, ANYBODY?

On a similar project, I coded the workbook_open event to check the userID of
the person opening the workbook, and based on that, it showed that person's
sheet (or if it was a manager, showed the manager's sheet and their direct
reports). That way, the regular user woudn't have to sift through dozens of
sheets to find their own; their own was the only one that was visible. You
could easily include a line of code to protect the direct report sheets from
any manager edits, if desired.

I hardcoded my array of employees and the sheetnames to show/hide, but if I
had to do it again I might be inclined to just make a hidden sheet with that
list in a range, and have that sheet unhide only when it was my userID
opening the workbook.

I think that checking the userID is much easier than having a bunch of
different passwords, especially if the employees will be calling you every
time they forget a password.

As for adding a new sheet- I just kept one blank template sheet, and anytime
I needed to add an employee I just made a copy of that blank sheet, and
renamed the tab with that person's userID. I did it manually, but this could
be done with code as well.

HTH,
Keith

"robzrob" wrote:

I want a workbook where all employees working hours, flexitime,
overtime, leave, etc can be recorded by themselves. Each would have
their own worksheet for viewing, inputting, amending, etc.

Restrictions. We have 4 levels: €˜Workers, Team Leaders, a Section
Mgr, a Dept Mgr. Workers should have view/amend access to their own
worksheet, Team Leaders: view/amend access to their own + view only
access to all Workers, etc.

Im thinking of a shared workbook with passwords for each type of
staff member. How would I do something like €˜Add new staff member
bearing in mind that each staff worksheet has its own formulae in it
and macros associated with it?

Would be grateful for any general ideas.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default TIPS ON A GENERAL STRUCTURE TO START WITH, ANYBODY?

On Aug 25, 12:13*am, ker_01 wrote:
On a similar project, I coded the workbook_open event to check the userID of
the person opening the workbook, and based on that, it showed that person's
sheet (or if it was a manager, showed the manager's sheet and their direct
reports). That way, the regular user woudn't have to sift through dozens of
sheets to find their own; their own was the only one that was visible. You
could easily include a line of code to protect the direct report sheets from
any manager edits, if desired.

I hardcoded my array of employees and the sheetnames to show/hide, but if I
had to do it again I might be inclined to just make a hidden sheet with that
list in a range, and have that sheet unhide only when it was my userID
opening the workbook.

I think that checking the userID is much easier than having a bunch of
different passwords, especially if the employees will be calling you every
time they forget a password.

As for adding a new sheet- I just kept one blank template sheet, and anytime
I needed to add an employee I just made a copy of that blank sheet, and
renamed the tab with that person's userID. I did it manually, but this could
be done with code as well.

HTH,
Keith



"robzrob" wrote:
I want a workbook where all employees’ working hours, flexitime,
overtime, leave, etc can be recorded by themselves. *Each would have
their own worksheet for viewing, inputting, amending, etc.


Restrictions. *We have 4 levels: ‘Workers’, Team Leaders, a Section
Mgr, a Dept Mgr. *Workers should have view/amend access to their own
worksheet, Team Leaders: view/amend access to their own + view only
access to all Workers, etc.


I’m thinking of a shared workbook with passwords for each type of
staff member. *How would I do something like ‘Add new staff member’
bearing in mind that each staff worksheet has its own formulae in it
and macros associated with it?


Would be grateful for any general ideas.- Hide quoted text -


- Show quoted text -


Thnks - I think I can start now.
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
General tips for good code formatting NDBC Excel Discussion (Misc queries) 3 August 12th 09 07:36 AM
Need some general Tips and Tricks for programming ! Bill Case Excel Programming 11 September 29th 06 11:36 PM
Format: General - Text - General iturnrocks Excel Worksheet Functions 3 August 11th 06 04:47 PM
OT :Start your own online business today !start making dollars [email protected] Excel Discussion (Misc queries) 0 May 6th 06 09:29 PM
Tool tips or screen tips Andrew B[_4_] Excel Programming 0 April 27th 06 07:40 AM


All times are GMT +1. The time now is 10:26 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"