Thanks again! I wasn't very clear. This is for a different macro in the same workbook and I'm having trouble adapting the code to it. I am very new to this, and thought that if I could see how to do it once I would be able to figure it out, but apparently not!
If you can show me how to make the following macro run only if a cell in D6:H15 or D19:H28 is selected, I think I can figure it out from there.

Originally Posted by
mehmetcik
You could modify my second code above or
use the intersect function if you have a range.
Bookmarks