LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Do Until using date

I am having a difficult time grasping this for some reason. I have a column
of dates from August 2007 to December 2010 (all end of month). These are in
column D from row 5 to row 45. What I need to do is to have a row of values
that is in column E to refresh monthly when an end of month date is put into
another cell, in this case in cell B1. Here's the thing; from the beginning
date until the current month I need it to have the formula E14-$H$4 (the 14
is what it is in July 2008. It was E13 in June, will be E15 in August, etc).
The following month it needs to roll down one month, and it relates to
another table. In this case July 2008 has the previously mentioned formula,
so August equals B10, September 2008 equals B11, October 2008 equal B12, etc.
Next month the formula mentioned above rolls down one month, and September
2008 equals B10, October equals B11, and so one.

Based on what I can find out it seems that a Do Until is the best thing to do,
but I have never been able to get this to work (I'm pretty new to VBA). If
that's not the best thing, then what would be? This is something I'll be
using in a variety of workbooks going forward, so I would REALLY appreciate
any help anyone could give me. Thanks in advance

Frank R.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200807/1

 
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
date in Cell to change colors if the date is beyond today's date Pete Elbert Excel Discussion (Misc queries) 2 June 6th 09 06:31 AM
Making a date go red, if date passes todays date. Jamie Excel Worksheet Functions 2 September 9th 08 02:14 PM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
copy date based on date -refer to date range mindpeace[_4_] Excel Programming 1 June 3rd 06 01:30 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


All times are GMT +1. The time now is 11:56 PM.

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

About Us

"It's about Microsoft Excel"