View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Trefor Trefor is offline
external usenet poster
 
Posts: 201
Default Can I copy just the visible sheets?

I realise I can make the sheets I want to copy visible, then copy them as per
below (using variables for sheet names)

Sheets(Array(CCRFsheet2, CCRFsheet3, CCRFsheet4a, CCRFsheet6,
CCRFsheet7a, CCRFsheet7b, CCRFsheet8, CCRFsheet9)).Copy

But is it possible to write a macro that will work out what sheets are
visible and then only copy those sheets to another WorkBook?

--
Trefor