Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Newbie VB month/date help
I am trying to build vb code that will fill in days based upon an input
month and year. For example, if I were to choose September, 2005, a newly created sheet would fill in the first row as follows: Sept 1, Sept 2, Sept 5, Sept 6... (excluding 3 & 4 as weekends) I know I need to write a loop that checks the date and validates it based upon weekday(excluding if 1 or 7) and stopping if the last day of the month is reached, but I'm not really sure how to det it up. Any help would be greatly appreciated. Thanks, Jeremy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
count month when date is in day/month/year format | Excel Worksheet Functions | |||
Date arithmetic: adding 1 month to prior end of month date | Excel Worksheet Functions | |||
Sort month/date/year data using month and date only | Excel Discussion (Misc queries) | |||
=VLOOKUP(1,Nationality!B5:B29,IF(MONTH(date)6,MONTH(date)-6, MON | Excel Worksheet Functions | |||
Month to date sales - reset in new month??? | Excel Worksheet Functions |