- Katılım
- 24 Ocak 2008
- Mesajlar
- 61
- Excel Vers. ve Dili
- 2003
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Aşağıdaki linki inceleyin.
http://www.excel.web.tr/f136/personel-bilgileri-resimli-rnekleri-t22790.html
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Columns("d").ClearComments
If Intersect(Target, [c6:d4500]) Is Nothing Then Exit Sub
If Target.Value = "" Then Exit Sub
dosyaadi = ThisWorkbook.Path & "\ABC\" & Target.Value & ".jpg"
With Cells(Target.Row, "d")
.AddComment
.Comment.Visible = True
.Comment.Shape.Select True
If CreateObject("Scripting.FileSystemObject").FileExists(dosyaadi) = True Then
Selection.ShapeRange.Fill.UserPicture dosyaadi
Selection.Height = 250 'yukseklik
Selection.Width = 200 'genişlik
Target.Select
Else
.Comment.Visible = False
End If
End With
End Sub