View Single Post
 
Old 10-27-2017, 07:29 AM
NoSparks NoSparks is offline Windows 7 64bit Office 2010 64bit
Excel Hobbyist
 
Join Date: Nov 2013
Location: British Columbia, Canada
Posts: 842
NoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of lightNoSparks is a glorious beacon of light
Default

How about
Code:
Sub Create_Name_WorkSheets()
Dim i As Integer
Dim ws As Worksheet
Dim sh As Worksheet
Set ws = Sheets("Template")
Set sh = Sheets("CFD Basic Info")
Application.ScreenUpdating = 0

    For i = 5 To Range("A" & Rows.Count).End(xlUp).Row
        Sheets("Template").Copy After:=sh

        With ActiveSheet
            .Name = sh.Range("A" & i).Value
            .Range("A2").Value = sh.Range("B" & i).Value
            .Range("D2").Value = sh.Range("A" & i).Value
            .Range("G2").Value = sh.Range("C" & i).Value
        End With

    Next i
    
Create_Hyperlinks
End Sub
PS: as a new user of these forums have a read of this to understand why there is an appropriate method of posting the same question to more than one forum.
https://www.excelguru.ca/content.php?184

Last edited by NoSparks; 10-27-2017 at 07:36 AM. Reason: added the PS
Reply With Quote