I am trying to get my macro I have been working on with some peoples help here to export the templates i am exporting to a new workbook, how would I go about modifying the code to do this? I have attached the workbook and the code below
Sub AddTemplateSheet()
Dim myCell As Range, myRange As Range
Set myRange = Sheets("Input").Range("F8")
Set myRange = Range(myRange, myRange.End(xlDown))
For Each myCell In myRange
If myCell <> "" Then
If Not Evaluate("=ISREF('" & myCell.Value & "'!A1)") Then
Sheets("Template").Copy After:=Sheets(Sheets.Count)
Sheets(Sheets.Count).Name = myCell.Value
End If
End If
Next myCell
End Sub
https://www.dropbox.com/s/1y311hbbg2...orum.xlsm?dl=0
Thanks for your help!
Bookmarks