Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Many thanks for your help
Alvin "ben" wrote: this is assuming range A1 & B1 are your two entry fields Sub tofromdate() Dim cou As Double ActiveSheet.Range("I1").Select For cou = ActiveSheet.Range("A1") To ActiveSheet.Range("B1") ActiveCell.NumberFormat = "m/d/yyyy" ActiveCell = cou ActiveCell.Offset(1, 0).Activate Next End Sub -- When you lose your mind, you free your life. "alvin Kuiper" wrote: Hi Can i do this: Have a form with 2 fields. In this two fields i write 2 dates then i want to make dates in a sheet from the first date to the second date So if i write 01-01-2006 in the first and 04-30-2006 ind the second excel makes i a collum rows from 01-01-2006 to 04-30-2006 regards Alvin |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert ' sign infront of dates | Excel Discussion (Misc queries) | |||
how can i insert a subtotal from a range of dates | Excel Worksheet Functions | |||
HOW CAN I INSERT A SUBTOTAL FROM A RANGE OF DATES | Excel Worksheet Functions | |||
Insert dates! I cant do it now! | Excel Discussion (Misc queries) | |||
Insert Dates for Year | Excel Discussion (Misc queries) |