if you are trying to copy all sheets prefixed "hub" try
for each sh in sheets()
if left(sh.name,3) ="hub" then
your code
end if
next
--
tony h
------------------------------------------------------------------------
tony h's Profile:
http://www.excelforum.com/member.php...o&userid=21074
View this thread:
http://www.excelforum.com/showthread...hreadid=542694