-
reduce it to
SchoolNames = Intersect(.Range("A2").CurrentRegion, .Range("A:A"))
(and similar with the following line where also "F"F" should be "F:F").
Also the following needs the red additions:
If SchoolNames(i, 1) = ThisName Then MaxDate = Application.Max(MaxDate, SchoolDays(i, 1))
p45cal
Everyone: If I've helped and you can't be bothered to acknowledge it, I can't be bothered to look at further posts from you.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules