Copy adjacent Sheet and name from a list
Hi Howard,
Am Sun, 7 Apr 2013 16:19:59 +0200 schrieb Claus Busch:
sorry, but I didn't read carefully.
Try:
Sub CreateSheets()
Dim LRow As Long
Dim rngC As Range
With Sheets("Summary")
LRow = .Cells(Rows.Count, 3).End(xlUp).Row
For Each rngC In .Range("C9:C" & LRow)
Sheets("Main Swb").Copy After:=Sheets(Sheets.Count)
ActiveSheet.Name = rngC
Next
End With
End Sub
Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
|