Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill series of dates across worksheets in excel
Please help.
I have created a workbook in excel with 31 worksheets, one for each day of the month. Is there a way that I can enter the date within the 1st worksheet and then use a format or formular so that each new worksheet will display the following days date? You can also contact me at ... Many thanks, Val :) |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Fill series of dates across worksheets in excel
I would use a macro.
Sub Date_Increment() 'increment a date in A1 across sheets Dim myDate As Date Dim iCtr As Long myDate = Sheets("Sheet1").Range("A1").Value 'adjust name and cell For iCtr = 2 To Worksheets.Count With Worksheets(iCtr).Range("A1") 'adjust cell .Value = myDate - 1 + iCtr .NumberFormat = "mm-dd-yyyy" End With Next iCtr End Sub Another method which also uses VBA is a uer defined function. See this thread for more info on PrevSheet function. http://tinyurl.com/blv5o8 In your case, enter the date in A1 on Sheet1. Group sheets 2 through 31 and enter =PrevSheet(A1) +1 Gord Dibben MS Excel MVP On Mon, 2 Feb 2009 17:05:01 -0800, Valhumf wrote: Please help. I have created a workbook in excel with 31 worksheets, one for each day of the month. Is there a way that I can enter the date within the 1st worksheet and then use a format or formular so that each new worksheet will display the following days date? You can also contact me at ... Many thanks, Val :) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How to exclude dates which equal SUNDAY from a fill series? | Excel Worksheet Functions | |||
Fill Series Dates: not letting me change the series from year to m | Excel Discussion (Misc queries) | |||
I want to use a fill series to copy down a pattern of dates. | Excel Discussion (Misc queries) | |||
How do I create a custom fill series for dates? | Excel Discussion (Misc queries) | |||
fill a series of dates excluding holidays | Excel Worksheet Functions |