LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Calculation Project Date skip Sun and Sat

Hi All
I am prepare VBA program for calculate Project Stat and End date base
on Process ID and Depend ID, I already complete the Calculation the
Start and End Date. Now, the Start/End may be Sun or Sat, the During
may be include Sun and Sat, I want to know how to skip Sun/Sat ?


The Calculate date is max(End Date) base on Depend ID
e.g. 40,60 on Depend ID field, the start Date will be base on Process
40 and 60.



Calculation Date Planning Start Date Process Depend Start Date End
date During
10 11/01/2007 11/02/2007 1
11/02/2007 20 10 11/03/2007 11/05/2007 2
11/02/2007 30 10 11/04/2007 11/07/2007 3
11/02/2007 40 10 11/05/2007 11/09/2007 4
11/09/2007 11/09/2007 50 40 11/13/2007 11/18/2007 5
11/09/2007 60 40 11/14/2007 11/20/2007 6
11/20/2007 70 40,60 11/26/2007 12/03/2007 7
11/20/2007 80 60 11/27/2007 12/05/2007 8
11/20/2007 90 60 11/28/2007 12/07/2007 9
11/20/2007 100 60 11/29/2007 12/04/2007 5
 
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
Date - I would like to skip weekends in a date range Teethless mama Excel Worksheet Functions 0 April 1st 08 12:56 AM
Skip Weekends in date Nigel Excel Worksheet Functions 11 December 21st 07 10:47 AM
skip cell if blank go on to use another cell in calculation sosborne Excel Programming 0 March 8th 06 09:33 PM
Time calculation problem (URGENTProject due) g6pack Excel Discussion (Misc queries) 4 November 28th 05 04:14 AM
Coding to show first _weekday_ prior to a date, when date calculation happens to fall on weekend? StargateFan[_3_] Excel Programming 5 December 9th 04 09:06 AM


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