Selasa, 27 September 2011

[ExcelVBA] Macro to run until dates match

 

Not sure if what I am asking is possible, but I have a workbook with macros that rotate staff against duties and advance the week ending date. ( simply done; C1 contains weekending date, D1=C1+7, so I copy and paste special values, the staff are rotated by cut and insert cut cells)

with this I run the macro which will advance 1 week at a time, until I reach the desired week ending date. What I was wondering was if it would be possible to write a macro that would advance until a date entered in another cell was matched? E.G. I enter 25/12/11 in a designated cell and execute the macro which will run until C1 contains the same date.

Regards

Tony

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

Tidak ada komentar:

Posting Komentar