Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro with stop date

hello

im a bit stuck on how to write a macro that can stop a calculation for
the next date once its past a stop date. Example:

stop date: 03-JAN-2007

ive already written an IF statement that calculates the next due date
based on the iterations but wihtout a macro it requires me to visually
inspect my
data when I fill in the entire row, column by column until when its
hits my stop date.
i have about 100 rows with different starting due dates and different
iterations.
The macro need to know when to finish a row (when it hits/goes over the
given
stop date) and then move to the next row and do that same.

Every Unit Due Date Next due Date Next Due Date ...
7 days 22-Dec-06 29-Dec-06 Stop, next column
30 days 10-Dec-06 Macro Stops here, goes to next column
......

can anyone help? =o)

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Macro with stop date

If your data base was set up so that all of your start dates were in the same
column and your stop dates were all in the same column it would be pretty
simple to write the macro. But with more than one start date and stop date
place sporadically through the worksheet in columns and rows, it would be
very complicated to write a macro.

" wrote:

hello

im a bit stuck on how to write a macro that can stop a calculation for
the next date once its past a stop date. Example:

stop date: 03-JAN-2007

ive already written an IF statement that calculates the next due date
based on the iterations but wihtout a macro it requires me to visually
inspect my
data when I fill in the entire row, column by column until when its
hits my stop date.
i have about 100 rows with different starting due dates and different
iterations.
The macro need to know when to finish a row (when it hits/goes over the
given
stop date) and then move to the next row and do that same.

Every Unit Due Date Next due Date Next Due Date ...
7 days 22-Dec-06 29-Dec-06 Stop, next column
30 days 10-Dec-06 Macro Stops here, goes to next column
......

can anyone help? =o)


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 do i stop autocorrecting the date? katanator Excel Discussion (Misc queries) 2 February 21st 09 08:45 PM
Date STOP Accumulator Michell Major Excel Discussion (Misc queries) 3 October 19th 06 10:51 AM
Stop running a macro in the middle of a macro gmunro Excel Programming 3 June 9th 05 06:00 PM
Macro: With Stop it works. Without Stop it doesn't. Don Wiss Excel Programming 2 October 12th 04 10:49 AM
Start Macro / Stop Macro / Restart Macro Pete[_13_] Excel Programming 2 November 21st 03 05:04 PM


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