bachguy40 Posted May 27, 2010 Posted May 27, 2010 Is there a trick to scheduling a program to only run, say, during July through October? I'm not sure if this is possible, as the "If" portion only allows for SPECIFIC date ranges, not something that can be left to repeat every year. As always, any help would be appreciated. Frank
Goose66 Posted May 28, 2010 Posted May 28, 2010 Not to be flip, but this is like writing code that properly calculates a leap year. Divisible by 4, but not by 100, except by 400. You could put that calculation all over your code only to later realize that the first time divisble by 4 doesn't work is 2100. Will your program be running then? Just make an If range for July through October of 2010 OR July through October of 2011 or July through October of 2012 OR July through October of 2013, and that should hold you for a while.
Recommended Posts