Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I need a macro code for the following.
In Excel, my worksheet contains a colum of dates grouped in a repetition/successions of 7 dates like 9/1/2003 pen School 9/2/2003 paper . 9/3/2003 book . 9/4/2003 toy . 9/5/2003 drink . 9/6/2003 snack . 9/7/2003 .. . 9/1/2003 shoes Camp 9/2/2003 hat . 9/3/2003 ............the group of repeated 7 dates continues down the column. I would like a code for a macro that will check the date column for as far down the column as possible to make sure that for EACH block of 7 days no number of date rows are missing. For Example: The macro would check that from 9/3/2003 the next row down contains 9/4/2003, not 9/7/2003 If any number of dates are missing the macro should insert blank rows and update the date column for the inserted blank rows--that's it! That is, in the Example above if 9/7/2003 is the next date under 9/3/2003, then the macro should insert 3 blank rows next below 9/3/2003 and update them as 9/4/2003 9/5/2003 9/6/2003, then the 9/7/2003. Please help. Thanks! Jay Dean |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro auto inserting rows and formulas | Excel Discussion (Misc queries) | |||
I need a macro for inserting a border line every 20 rows | Excel Discussion (Misc queries) | |||
Macro Help- Inserting Blank Rows | Excel Discussion (Misc queries) | |||
Macro needed for inserting blank rows | Excel Worksheet Functions | |||
Inserting Blank Rows Macro? | Excel Worksheet Functions |