View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Chris Salcedo Chris  Salcedo is offline
external usenet poster
 
Posts: 25
Default copy all named ranges in a sheet to seperate sheets

I have a sheet that has lots of named ranges. What I need to do is take
each named range and copy it to a new sheet then name the sheet using
the named range. What I dont know how to do is loop through all the
named ranges.

I can do this and it works...

Sub Copy_Range()

ActiveSheet.Range("CPG0162").Select
Selection.Copy
Sheets("Sheet7").Select
Range("A1").Select
ActiveSheet.Paste
End Sub

Thanks