Geoff,
Thanks very much. Yes, I can do it with Subtotals, but it's kinda klutzy, and I would love to see how it's done in code.
Please understand, I am a real newbie to VBA. When you suggested doing it "via code", I took that to mean that I could create a macro called something...