+ Reply to Thread
Results 1 to 6 of 6

Attendance tracking

  1. #1
    Forum Contributor
    Join Date
    04-03-2011
    Location
    India
    MS-Off Ver
    Excel 2015
    Posts
    122

    Attendance tracking

    My Requirements are as follows

    1) Holiday List sheet as list of holidays as per locations - Need a macro to update in Tracker Sheet as H to lookup from Holiday Sheet
    ( Module 2 as VBA code written which needs to be altered)

    2) If i update in cell G10 as 1 it should give a result as AL , M10 as 2 it should give result as CL ... etc as per above table
    Give a VBA code script where if i enter 1 it should auto update as AL or CL
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Attendance tracking

    PL see attached file.

    Insted of changing 1 to CL in each cell the formula in AL10 can be modified as below and for CL you can mark 1 in the date cell.

    Please Login or Register  to view this content.
    The macro " MarkHolidays " will mark H on the particular dates for the respective places.
    The holiday list and "Tracker Sheet" should be for same month, because macro verifies only date not month.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    04-03-2011
    Location
    India
    MS-Off Ver
    Excel 2015
    Posts
    122

    Re: Attendance tracking

    Hi,

    Thank You KVS.
    I am ok with macro " MarkHolidays . I would require a macro for my 1st requirement which can be made through select statement script by VBA coding,

    For Example : Range from 1st to 31st Calender days (E10:AI13) enters as per above table (F3 : Y4)
    If i enter manually as 1 in cell , it should auto update as AL
    If i enter manually as 2 in cell , it should auto update as CL
    If i enter manually as 3 in cell , it should auto update as LWP
    If i enter manually as 4 in cell , it should auto update as LOP

    Please try

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Attendance tracking

    Insted of changing the entry Why Formula cannot be changed. Is there any problem.

  5. #5
    Forum Contributor
    Join Date
    07-24-2009
    Location
    Valrico, FL USA
    MS-Off Ver
    Excel 2016
    Posts
    358

    Re: Attendance tracking

    See if the attached Attendance workbook will be helpful.
    It will work with up to 50 employees, just make copies of the employee sheets.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Attendance tracking

    Pl See the attached file.
    Worksheet_Change Event is used.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1