Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default 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
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
How to exclude dates which equal SUNDAY from a fill series? Amber Excel Worksheet Functions 8 November 5th 08 03:09 PM
Fill Series Dates: not letting me change the series from year to m Mike Excel Discussion (Misc queries) 1 January 24th 08 05:08 PM
I want to use a fill series to copy down a pattern of dates. DEQhl Excel Discussion (Misc queries) 1 December 20th 07 09:18 AM
How do I create a custom fill series for dates? Jeff Excel Discussion (Misc queries) 1 December 18th 06 03:28 AM
fill a series of dates excluding holidays gsh20 Excel Worksheet Functions 1 August 25th 05 12:33 AM


All times are GMT +1. The time now is 11:06 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"