Public Sub vytvor()
For i = 1 To List1.UsedRange.Rows.Count
Sheets.Add.Name = List1.Cells(i, 1)
List1.Hyperlinks.Add Anchor:=List1.Cells(i, 1), Address:="", SubAddress:="'" & List1.Cells(i, 1) & "'!A1", TextToDisplay:=List1.Cells(i, 1).Value
With List1.Cells(i, 1).Font
.Name = "Arial"
.Size = 8
.Bold = True
.Strikethrough = False
.Superscript = False
.Subscript = False
.OutlineFont = False
.Shadow = False
.Underline = xlUnderlineStyleNone
.ColorIndex = 1
End With
Next
List1.Activate
End Sub
M@citovat