Search : in
By :

To prepare Attendence Report with Excel sheet

Last answer on Oct 22, 2009 2:01:26 pm BST sneha, on Sep 5, 2008 9:47:32 pm BST 
 Report this message to moderators

Hello,
I will describe what I want to do .

I have 60 residents working in our department. They attend morning report everyday. So I have prepared excel sheet( Named Attendance Table) which has column A1:A60 with names of residents B1:B60 with percentage of attendance for one month.

My job is to prepare Attendance report for each resident.

I have prepared Template for attendance report.


Now I want to run a Macro which will do following things

1. Open a new worksheet from the template in the workbook which has "Attendance Table worksheet"

2. It should bring the data from "Attendance Table" worksheet
a. From First column A1 and put in Name field of template ( new worksheet opened in stage one) ( Always D6)
b. bring data from B1 and put in Percentage field of Template (F10)
c. It should rename the worksheet tab with Data from A1 (i.e. name of the resident)

3. It should repeat the step 2 till it reaches the empty cell

Can anyone help me write the macro.

Thank You
sneha

Configuration: Windows XP
Internet Explorer 6.0

Best answers for « To prepare Attendence Report with Excel sheet » in :
Create an Attendance Report with Excel sheet ShowCreate an Attendance Report with Excel sheet Issue Solution Issue In the case you want to create an attendance report with Excel , here below you will find a nice example: Consider that your report will have the following...
Avoid duplicates in Excel ShowAvoid duplicates in Excel In order to avoid duplication when encoding in a column from an excel sheet: take the conditional format on the first cell under the headings (eg A2) choose the following formula:...
How to freeze a row in an excel sheet ShowHow to freeze a row in an excel sheet To freeze a line in an excel sheet, for example line 1: Select line 2. Go to menu Window and select Freeze panes.
Spreadsheets - The Excel Interface ShowExcel Introduction Microsoft Excel is the spreadsheet in the Microsoft Office office suite. To start it, simply click on the appropriate icon in the Start menu (in Windows) or click on an Excel file (that has an .xls file extension). A Excel...

1

Jimmy, on Sep 6, 2008 2:18:38 pm BST
  • +16

' Attendance Report Subroutine to
' Open New Worksheet called attendance tqable worksheet
' With data from Attendance Table
' Residents name to D6
' Percentage of attendnace for one month to F10
' Rename sheet to residents name and start again
' For all residents in table

Sub AttendanceReport()
Dim cCell As Object, i As Integer 'Two variables cCell (current Cell) object and i (standard counting integer)
Cells(1, "A").Select 'Ensure that we start each time at the top of the worksheet
Application.ScreenUpdating = False 'Turn of screen updates whilst macro is running
For Each cCell In Range(Cells(1, "A"), Cells(1, "A").End(xlDown)) 'Will run our code through each cell with text
Set NewSheet = Sheets.Add(Type:=xlWorksheet) 'Add new worksheet
NewSheet.Name = "Attendance Table Worksheet" 'rename worksheet
Sheets("Attendance Table Worksheet").Cells(6, "D").Value = cCell.Value 'put residents name is cell D6
Sheets("Attendance Table Worksheet").Cells(10, "F").Value = cCell.Offset(0, 1).Value 'put residence attednance into F10
Sheets("Attendance table worksheet").Name = cCell.Value
Next cCell
End Sub

Reply to Jimmy

7

Jc, on Nov 17, 2008 10:03:05 pm GMT
  • +2

Jimmy your response to the person from this post seem very close to helping me with my issue. We are creating a "list" using excel. I need to create a macro to do the following:

1. Add a new sheet from an original or master( ideally by pressing a button or key combination). The sheet will be named numerically in sequence.
2. Create cell references on a "Project" page refering to the new sheet created.

example. Create sheet "51" ( or the next number in the sequence),
Copy the information in cell '51'!$B$1 to the next available cell in Column B on the "project" sheet.
Copy hte information in cell '51'!$B$3 to the next available cell in column C on the "project" sheet.

and so forth until you get to column G

Reply to Jc

11

timeguru, on Feb 3, 2009 2:25:40 am GMT
  • +2

Hi Jimmy
Mate I got your code to work and create the named worksheets populate the appropriate values into them however. I have a tempalte say called worksheet1. When I run the macro it creates all of the worksheets from the referenced list in worksheet1. So I have six new worksheets all with the employee name and staff numbers in them and the worksheet named after the corresponding employees. Hw ever it does not take the template across I only have the name where it should go and staff number but not the layout of the tempalte. Can you help

Reply to timeguru

52

pavan, on Aug 12, 2009 11:00:46 am BST

Hi my email id is pavraoracamadugu@gmail.com pls send me everyting u got my project is depends almost same

Reply to pavan

53

timeguru, on Aug 12, 2009 10:15:34 pm BST

Pav
Mate I have tried to send this twice to your email adddress is it correct pavraoracamadugu@gmail.com this is as sent to me.

If not send the correct address

cheers
mate

Reply to timeguru

54

pavan, on Aug 13, 2009 9:51:14 am BST

Im very sorry its pavanraorachamadugu@gmail.com

Reply to pavan

2

gsneha, on Sep 7, 2008 4:13:21 pm BST
  • +5

Thanks for your immediate reply. I will go back to my computer on monday and check the code thanks a lot ......
Sneha

Reply to gsneha

8

Ragu, on Dec 30, 2008 8:17:40 am GMT
  • +2

Hi,
Could you please send me the excel sheet...

Reply to Ragu

50

pavan, on Aug 11, 2009 11:26:36 am BST

Hi sneha i am pavan from aberdeen i m doing project on automatic attendence sheet i have no idea what to do actually im mechanical engg graduate and doing masters in cs in uk if u have any spread sheets can u pls send me so dat i can get an idea abt dat





thanking u
pavan

Reply to pavan

51

timeguru, on Aug 11, 2009 10:47:11 pm BST

Hi

send me your email address and i will send you a copy of the sheet I have developed using some of the code from here plus other functions.


Ron

Reply to timeguru

62

Fahee, on Oct 19, 2009 12:02:01 pm BST

Hi, how are you hope you ll b fine and great , i m doing job in UAE in accounts depptt.so i want to know how can i put formula or daily or monthly employee statuse of attendance sheet....leave,sunday.etc..

Reply to Fahee

63

time, on Oct 19, 2009 8:47:05 pm BST

Fahee
send me an email addressto send file too. I am unable to attach thru site.


ron

Reply to time

3

GSNEHA, on Sep 8, 2008 6:08:48 pm BST
  • +2

The code worked like a charm... no problem at all... thanks a lot...

Reply to GSNEHA

10

Timeguru, on Jan 28, 2009 3:01:53 am GMT

Hi
looks like 2009 is the year of timesheets. I have a similar issue in that I haveused some of the code above to recreate the new worksheets but wondered how one goes about getting the template worksheet to populate the newly named worksheets. If you could see your way clear to send a copy of your worksheet I will try and adjust it to my circumstances. Cheers and thanks

Reply to Timeguru

21

Kat, on May 13, 2009 2:17:26 am BST
  • +2

Hi friend,

Could you please send me a copy of the excel file. I am urgently in need of help in this type questions.

Much appreciated!

Kat

Reply to Kat

22

Timeguru, on May 13, 2009 3:06:11 am BST

Hi Kat need the email address to send it

Reply to Timeguru

23

Kat, on May 13, 2009 3:22:56 am BST

Thanks a lot for your prompt reply!

Wishes!

Kat

Reply to Kat

24

timegure, on May 13, 2009 6:56:48 am BST

Hi Kat

still can not see your email address mine is drwhoandk9@gmail.com then if you send me your address I can attach the file

Reply to timegure

28

Murugan, on May 14, 2009 5:54:00 pm BST

Hi Kat,

It looks like you got the Attendance Template. Could you send the file to my email id...murugan.guna@gmail.com

Thanks in advance..

Reply to Murugan

29

timeguru, on May 14, 2009 10:00:20 pm BST

Murugan have sent you the file from work cheers

Ron

Reply to timeguru

30

Murugan, on May 15, 2009 7:54:53 pm BST
  • +1

Hi Ron,

Just gone through the 2 excel sheets - of which one worked like a charm and it just puts me on "awe" with the design you mapped. However - I tried to add a new employee following the step 2 process which says "Click on the Create Wages Pay Sheet button. If you have new employees select update team list button", which I dont see its working...Could you help in this regard...


Thank you & Agog :-)
Murugan

Reply to Murugan

31

timeguru, on May 16, 2009 10:41:31 am BST
  • +1

Hi Murugan

It sounds like something is wrong with the sheet. What should happen is that it will create worksheets for employees in the hidden rows. I have set them up as a family named Adams. Unhide the rows from 37 down and add the names of your employees in place of the addams.

This hidden area also has details of work areas you may need or not.

If the create new worksheet button is not creating a sheet for each employee automatically there may be a problem with both sheets I sent. I will need to check my virus check to make sure it is not stripping macros. Let me know if you have created new worksheet tabs once you put your employe names in the hidden fields.
I have not developed macro for adding, deleting employees from hidden field reference yet.

If not I will need to recreate for you and ensure my virus program is not stripping it. Kat is your working

cheers

Reply to timeguru

6

Lalit.123, on Nov 7, 2008 2:44:03 am GMT
  • +6

Hi Sneha i am send the Attandence Excel sheet with this attachment so pls keep it this sheet and prepare attandence reports in own circle








Thanks & Regards
Lalit Rawat

Reply to Lalit.123

15

Nasir Khan, on May 7, 2009 9:57:05 am BST

Dear Friend,
can you send mer attendance report in my email I.D


thanks in Advance,

Reply to Nasir Khan

16

timeguru, on May 7, 2009 10:56:49 pm BST

Hope this helps.

Reply to timeguru

43

pedo, on Jun 9, 2009 1:14:43 pm BST

Could you send me the attendance sheet

Reply to pedo

44

timeguru, on Jun 10, 2009 1:14:34 am BST

Hi Pedo

send your email address to me at drwhoandk9@gmail.com I can not see your email address to send you the file.

cheers

ron

Reply to timeguru

45

timeguru, on Jun 16, 2009 5:12:24 am BST

Hi Pedo do you still need a copy of the spreadsheet if you put your email address here i can send it to you, but I dont subscribe anymore therefore can not see your email address. Still willing to share and help out if I can

Reply to timeguru

48

richa, on Aug 8, 2009 12:29:42 pm BST

Please provide the attendance sheet so that I can also use in my office as doing it manually is very tedious and time consuming

Reply to richa

9

rachmad, on Jan 4, 2009 10:12:13 pm GMT
  • +2

Dear Sneha,
I found my self facing a same interest with you, would you send me the solution from your question?
I'll appreciate it.


Thanks and regards,
Rachmad Hidayat

Reply to rachmad

12

sudhir, on Feb 12, 2009 7:20:32 am GMT
  • +2

Hi friend,

lease can you send the file at my email id .this will be wonderful for you. sorry for me. so please send the excel file .

Reply to sudhir

13

timeguru, on Feb 12, 2009 8:12:39 pm GMT
  • +1

Hi mate

Thanks very much for the reply. I have managered to get it all to work now thanks


Ron

Reply to timeguru

17

timeguru, on May 7, 2009 10:59:39 pm BST

Send me email address to send file I dont seem to be able to attach it

Reply to timeguru

14

Chetan, on Apr 5, 2009 1:11:21 am BST
  • +1

Can some one please mail me a Example formate of timw Attendence Register to pcgame03@gmail.com

Reply to Chetan

18

timeguru, on May 7, 2009 11:02:34 pm BST
  • +1

Have sent you a copy of a timesheet based on the comments plus some extra features I use. Hope it helps

Reply to timeguru

19

Murugan, on May 10, 2009 11:21:00 am BST

Hi,

Could you send the excel file to my mail id. I have been struggling to solve this for the past 6 months..

Thanks in advance..
Murugan

Reply to Murugan

20

Timegurur, on May 10, 2009 10:36:02 pm BST

I am not sure I am still supposed to do this I am not subscribed currently so do not know your email address or know how to attach to this message. Willing to send if you have email address.

Ron

Reply to Timegurur

25

sarish, on May 13, 2009 11:58:44 am BST

Could I please get a copy of that Time Attendence Register. I have a project which I am working on and this spreadsheet will be of great help. Thank You in advance

Reply to sarish

34

Timeguru, on May 30, 2009 8:19:58 am BST

Hi Sarish

I did not see your request until today send me email address so that I can email to you the sheet you want

Reply to Timeguru

33

Timeguru, on May 30, 2009 8:17:24 am BST
  • +1

Have sent you the latest version it now has a sheet to add and delete employees that are not working for a particular week.

Reply to Timeguru

35

Orkt, on Jun 1, 2009 12:00:59 am BST

Can you please sen attendent sheet to my e-mail also

thanks

Reply to Orkt

36

Timeguru, on Jun 1, 2009 12:57:31 am BST
  • +1

I can not attach the sheet thru the site unfortunaley. If you have an email address i can send it to please advise address an I will organise. otherwise one of the people who has obtained from me may be able to send it too you.


Ron

Reply to Timeguru

38

Orkt, on Jun 1, 2009 3:25:45 am BST
  • +1

Hi,
Thanks, sure the e-mail is orkt@hotmail.com

OrkT

Reply to Orkt

39

Timeguru, on Jun 1, 2009 4:05:55 am BST
  • +1

Hi have sent the latest file to you. Hope it works for you. Always interested in any new modifcations additons people are adding to all the copies I send. drwhoandk9gmail.com

cheers

Reply to Timeguru

37

Timeguru, on Jun 1, 2009 12:57:34 am BST

I can not attach the sheet thru the site unfortunaley. If you have an email address i can send it to please advise address an I will organise. otherwise one of the people who has obtained from me may be able to send it too you.


Ron

Reply to Timeguru

40

Balaji, on Jun 3, 2009 9:11:01 am BST

Please send me the sheet.

my email id is btgtech@gmail.com

Reply to Balaji

41

timeguru, on Jun 3, 2009 9:37:15 am BST
  • +2

Hi Balaji
Will send you the sheet. It has a number of worksheets. The first allows you to update list of employees included by using check boxes. Second is instruction sheet for supervisor to create inidividual worksheets for each employee checked as true. The third is the timesheet template. This sheet using concatenation to create a file name. The drop down boxes in the sheet are in hidden rows from row 34 down, to update unhide the rows. The sheet is not password or locked so if you need to deploy be aware you need to do the usual security and locking of fields.
I encourage you to rate the answer on the expert exchange thread.
Ron

Reply to timeguru

42

Balaji, on Jun 3, 2009 9:41:38 am BST

Thanks Ron.

Very kind of you

Reply to Balaji

46

salma, on Jul 17, 2009 10:20:36 am BST

Hi All,


Can you please forward me the excel sheet whcih has the macro to create individual reports.
It will be a great help. As i have requirement where i have to develop individual reports.
My email id is salmabanu84@gmail.com

Many Thanks in advance.
Salma

Reply to salma

47

timeguru, on Jul 22, 2009 4:47:47 am BST
  • +1

Hi Salma

Sent you the spreadsheet with all of the macros hope it helped out with your problems.

Ron

Reply to timeguru

55

Ali, on Aug 23, 2009 10:32:36 am BST

Hi ron,

Could you please this excel sheet and its all macros.

my email id is ali.berfysl@gmail.com

Thinks

Reply to Ali

56

fufi, on Aug 30, 2009 8:19:09 am BST

I would love it if someone forwards me this excel sheet.
Thank you!

Reply to fufi

57

timeguru, on Aug 30, 2009 10:02:12 pm BST

Hi send me your email address and I will forward to you I can not seem to email from the site.



Ron

Reply to timeguru

58

alex, on Sep 15, 2009 6:26:06 am BST

Hi,

Please send me the excel file with all macro to alex6818@yahoo.com

Thanks.

Reply to alex

59

bkeat, on Sep 22, 2009 4:27:36 am BST
  • +1

Could someone please email macro code to bkeating11@gmail.com

Reply to bkeat

60

James, on Oct 14, 2009 12:23:02 pm BST

Is it possible for someone to email me the spreadsheet?

jdshepp@gmail.com

thx

Reply to James

61

timeguru, on Oct 14, 2009 10:07:17 pm BST

James I have sent you copy of timesheet. It would be nice if you and others who I have sent the sheet to could send me a copy of the sheet you all now use. This way I can draw together the numerous various and try and combine some of the features for redistribution of an improved timesheet.

Ron

Reply to timeguru

64

 Zaxter, on Oct 22, 2009 2:01:26 pm BST

Hello,

I have an attendance sheet wherein the rows occupy the names of people while columns occupy the days of the month. I wanted to calculate the percentage of attendance at the end of the column for each person.
for eg:
1 2 3 4 5 Percentage of attendance
A 75%
B 65%
C
B

Could you please help me out with this... My id is mailzaxter@gmail.com

Thanks a lot for your help

Reply to Zaxter