View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
tony h[_120_] tony h[_120_] is offline
external usenet poster
 
Posts: 1
Default VBA Help on Not Copying Specific Worksheets


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