Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 470
Default Macro to insert at correct point

I have a sheet (PAS) that has a type of calender to track the number of hours
I work at part-time job. Here is the set up of calender:

B125:B176 = date for beginning of week (which is a Monday) (52 rows ie weeks)
C125:G176 = columns for Mon Tue Wed Thur Fri for 52 weeks
where
B125 C125............G125
12/17/07 Mon Tue.......Fri

I would like a userform that accepts the following:
Date worked
Clock In
Clock Out

I can design userform and put the formula I need to calculate total hours
worked in the macro. What I would like to know is how to take the date
worked and find the spot it is suppsed to place it in. Example: If I worked
on 12/27/07, the macro needs to figure out the week it falls in and then
figure out where to place it (ie Thursday)

B125 = 12/17/07
B126 = 12/24/07 C125=Mon D125=Tue .....F125=Thur G125=Fri
B127 = 12/31/07

Thanks for your help!
Les
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
Mouse click not selecting correct data point DGreenhaff Charts and Charting in Excel 0 April 16th 10 12:02 PM
Calculation not correct after decresing decimal point Imran Excel Discussion (Misc queries) 1 June 24th 08 11:28 AM
how do I automatically insert a decimal point? myburgh Excel Worksheet Functions 1 February 7th 07 07:02 PM
Insert Formatted Row at specific point within Dynamic Range ksp Excel Programming 4 June 8th 06 03:44 AM
How do I insert pictures in excel with the correct aspect ratio? dfb&mkp Excel Discussion (Misc queries) 0 February 12th 06 06:09 AM


All times are GMT +1. The time now is 11: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"