DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Üstadım Gönderdiğiniz dosyayı denedim Maşallah 5 saniyeyi bile bulmuyor.![]()
Sanki ortaktan değil mi sorun.
Sub link_olustur()
Application.ScreenUpdating = False
Application.DisplayAlerts = False
If WorksheetExists("Gecicixxxxx") Then Sheets("Gecicixxxxx").Delete
Set newsh = Sheets.Add(After:=Sheets(Sheets.Count))
newsh.Name = "Gecicixxxxx"
Dim myFile
Dim myDirectory
Dim counter
myDirectory = ActiveWorkbook.Path & "\"
myFile = Dir(myDirectory & "*.*")
counter = 0
Sheets("Gecicixxxxx").Columns("A:A").NumberFormat = "@"
Do While myFile <> ""
counter = counter + 1
With myFile
If InStr(myFile, " ") > 0 Then
Sheets("Gecicixxxxx").Cells(counter, 1) = Mid(myFile, 1, InStr(myFile, " ") - 1)
Sheets("Gecicixxxxx").Cells(counter, 2) = myDirectory & myFile
End If
End With
myFile = Dir()
Loop
Sheets("Sayfa1").Select
sonsatir = Cells(Rows.Count, "A").End(3).Row
sonsatir2 = Sheets("Gecicixxxxx").Cells(Rows.Count, "A").End(3).Row
For i = 2 To sonsatir
aranan = Cells(i, "A").Value
Set k = Sheets("Gecicixxxxx").Range("A1:A" & sonsatir2).Find(aranan, , xlValues, xlWhole)
satir = 0
If k Is Nothing Then
Cells(i, "A").Hyperlinks.Delete
Cells(i, "A").Font.Underline = xlUnderlineStyleNone
Cells(i, "A").Font.ThemeColor = xlThemeColorLight1
Cells(i, "A").HorizontalAlignment = xlLeft
Cells(i, "A").VerticalAlignment = xlBottom
Else
satir = k.Row
ActiveSheet.Hyperlinks.Add Anchor:=Cells(i, "A"), Address:=Sheets("Gecicixxxxx").Cells(satir, "B"), TextToDisplay:=aranan
End If
Next i
If WorksheetExists("Gecicixxxxx") Then Sheets("Gecicixxxxx").Delete
Application.DisplayAlerts = True
Application.ScreenUpdating = True
End Sub
Sayın Asri Yıl Klasörü hakkında hiç şansım yok mu?