Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default building code for an individual report


Hi,

I need help, i have built an attendance database in excel, this is
basicly like a register where a user can iput everyones status for that
day, whether it be in, late, sick, on holiday or doing overtime.
Everyone who is on this database has their name at the top, so the
staff names run horizontally while the date runs down the left most
column. i have a screen shot of what this attendance database looks
like.

So now this has been completed i need to built reporting tools. I've
already built two or three, but now i must build an individual
reporting tool where it reports on an individual, basicly bringing up
their details (name, department, ins, lates, sick, sick percentage,
holiday, overtime) after their name has been put in an input box.

What i need help on is if anyone has any idea where to start in an
attempt to complete this tool. I'm absolutely crap when it comes to
VBA, but i know the basics.

The way i want it to work is the user clicks a button which brings up
an input box, then the user puts the name of whoever they want to
report on in, this will look at the name the user has put in an match
it with a name on the table and then put in the correct numbers for ins
lates and so on.

There is also a twist, not only does the report have to do what i said
above, but when it becomes 2006 the report must report on 2006 instead
of 2005, so this means there has to be something that works out the
year so that it can report from the right tab sheet. Each of the tab
sheets are named by year so from 2005 to 2010, each tab sheet is
exactly the same except obv weekends are on different days, but apart
from that they're pretty much the same.

I also have a screen shot of the individual report after the user has
clicked on the change data button which brings up the input window to
input whichever staff member it is that the user would like to report
on.

If anyone could push me in the right direction or give me some code
that would be great, also if anyone needs to see any other screenshots
to complete this just say.

Thanks!


+-------------------------------------------------------------------+
|Filename: maintabsheet2.JPG |
|Download: http://www.excelforum.com/attachment.php?postid=3999 |
+-------------------------------------------------------------------+

--
alymcmorland
------------------------------------------------------------------------
alymcmorland's Profile: http://www.excelforum.com/member.php...o&userid=27652
View this thread: http://www.excelforum.com/showthread...hreadid=482757

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default building code for an individual report

you could start by checking out the example

www.j-walk.com/ss/excel/usertips/tip020.htm
hopefuly this will get you started

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default building code for an individual report


In one of my formula's i have

'2005'!B5

This is pointed at tab sheet 2005, what i'd like to know is if it is
possible to have this in there instead:

'Current Year'!B5

and basicly translate the current year to tab sheet name so that the
refferenced tab sheet will change from year to year without anyone
having to change it?


--
alymcmorland
------------------------------------------------------------------------
alymcmorland's Profile: http://www.excelforum.com/member.php...o&userid=27652
View this thread: http://www.excelforum.com/showthread...hreadid=482757

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default building code for an individual report

could you not activate the sheet in the open event?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 414
Default building code for an individual report

You could use the indirect function eg:
=INDIRECT(YEAR(TODAY())&"!B5")

Note: this is a volatile function and will be recalculated everytime you
open, close, save or perform any other action on the workbook that
triggers calculation.

Hope this helps
Rowan

alymcmorland wrote:
In one of my formula's i have

'2005'!B5

This is pointed at tab sheet 2005, what i'd like to know is if it is
possible to have this in there instead:

'Current Year'!B5

and basicly translate the current year to tab sheet name so that the
refferenced tab sheet will change from year to year without anyone
having to change it?


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
How To Print Spreadsheet Report using VBA Code [email protected] Excel Discussion (Misc queries) 1 September 4th 06 07:01 PM
How to explicitly set the regional code of an individual spreadsheet Scott Steiner Excel Discussion (Misc queries) 1 November 21st 05 02:34 PM
Fill an individual report with values from a team report? alymcmorland[_4_] Excel Programming 2 October 13th 05 09:39 AM
Locking Code In Individual Macros Carl Bowman Excel Discussion (Misc queries) 2 May 19th 05 06:05 PM
Gradebook and Individual Report Robin Excel Programming 2 January 3rd 04 02:08 AM


All times are GMT +1. The time now is 12:41 AM.

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

About Us

"It's about Microsoft Excel"