"Jon Peltier" wrote in message
...
Aside from changing
(Z.Rows.Count=1) And (Z.Columns.Count=1)
to
Z.Cells.Count
....particularly if there's any chance the range is not contiguous.
Tim
I don't see anything wrong with the construction. It's how VBA works.
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______