Arkadaşlar merhaba sekmeleri otomatik ismine göre sıralıyordu açılan sayfalar çoğaldıkça hata vermeye başladı, bir yardım ederseniz sevinirim.
For X4 = 2 To Sheets.Count
Sheets("" & Cells(X4 - 1, 1) & Cells(X4 - 1, 2) & Cells(X4 - 1, 3)).Move Before:=Sheets(X4)
Sheets("Liste").Select
If Sheets("Liste").Cells(X4 - 1, 3) = "Gizli" Then
Sheets("" & Cells(X4 - 1, 1) & Cells(X4 - 1, 2) & Cells(X4 - 1, 3)).Visible = False
End If
Next
For X4 = 2 To Sheets.Count
Sheets("" & Cells(X4 - 1, 1) & Cells(X4 - 1, 2) & Cells(X4 - 1, 3)).Move Before:=Sheets(X4)
Sheets("Liste").Select
If Sheets("Liste").Cells(X4 - 1, 3) = "Gizli" Then
Sheets("" & Cells(X4 - 1, 1) & Cells(X4 - 1, 2) & Cells(X4 - 1, 3)).Visible = False
End If
Next
