A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
To generate the list starting from F5 and left-align its contents, change outRow to 5 and add the alignment setting after creating each hyperlink:
Sub CopyAndListSheets()
Dim wsData As Worksheet
Dim wsTemplate As Worksheet
Dim wsNew As Worksheet
Dim copyAfter As Worksheet
Dim cell As Range
Dim outRow As Long
Dim newName As String
Set wsData = ThisWorkbook.Worksheets("Data File")
Set wsTemplate = ThisWorkbook.Worksheets("Master Template_Collectives")
Set copyAfter = wsTemplate
outRow = 5
For Each cell In wsData.Range("C4:C15")
If Trim(cell.Value) <> "" Then
newName = CStr(cell.Value)
wsTemplate.Copy After:=copyAfter
Set wsNew = ActiveSheet
wsNew.Name = newName
Set copyAfter = wsNew
wsData.Hyperlinks.Add _
Anchor:=wsData.Cells(outRow, "F"), _
Address:="", _
SubAddress:="'" & newName & "'!A1", _
TextToDisplay:=newName
wsData.Cells(outRow, "F").HorizontalAlignment = xlLeft
outRow = outRow + 1
End If
Next cell
End Sub
The list will now begin at F5, and each generated hyperlink in column F will be left-aligned.
I hope this information is helpful. If I have misunderstood any part of your question, or if the issue persists, please feel free to reply with additional details.