DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Dim satir As Range
Set satir = Cells.Find("nevzat", , xlValues, xlWhole)
If Not satir Is Nothing Then MsgBox satir.Row
yol = "C:\STT 2015\rapor."
If Dir(yol & "xls") <> Empty Then
dsy = yol & "xls"
ElseIf Dir(yol & "xlsx") <> Empty Then
dsy = yol & "xlsx"
Else
MsgBox yol & " adında bir excel dosyası yok"
Exit Sub
End If
Workbooks.Open Filename:=dsy