Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto- Fill Dates?

I was wondering what I would have to do to be able to make a macro tha
would take the a list of sundays (lets say ten) bring the most recen
five to the top of the list then auto fill the next five sundays(wit
their dates) in the five cells that are now open under them.



--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Auto- Fill Dates?

I figured this one out on my own. I had to create a macro that would d
all the work for me. quite a pain in the butt but it works.
:cool

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Auto- Fill Dates?

Grüezi DangerMouse114

DangerMouse114 schrieb am 07.06.2004

I was wondering what I would have to do to be able to make a macro that
would take the a list of sundays (lets say ten) bring the most recent
five to the top of the list then auto fill the next five sundays(with
their dates) in the five cells that are now open under them.


In A1 copy the following formula (with VBA, if you like)

=TODAY()-35-WEEKDAY(TODAY(),2)

In A2 copy the following and autofill as far as you like with the
autofillhandle in the bottom right corner of the cell;

=A1+7

--
Regards

Thomas Ramel
- MVP for Microsoft-Excel -

[Win XP Pro SP-1 / xl2000 SP-3]
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
Auto fill dates Jennifer Excel Worksheet Functions 1 March 24th 06 07:45 PM
Auto fill dates Jennifer Excel Worksheet Functions 0 March 24th 06 07:32 PM
auto fill row with dates tdennis14 Excel Discussion (Misc queries) 5 October 27th 05 01:53 AM
How to Auto fill dates on a schedule cardingtr Excel Discussion (Misc queries) 3 September 23rd 05 06:55 AM
How do I auto-fill consecutive dates ? drschieff Excel Worksheet Functions 1 January 18th 05 10:23 PM


All times are GMT +1. The time now is 07:18 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"