- Katılım
- 29 Kasım 2007
- Mesajlar
- 1,110
- Excel Vers. ve Dili
- excel 2007
DOSYA İndirmek/Yüklemek için ÜCRETLİ ALTIN ÜYELİK Gereklidir!
Altın Üyelik Hakkında Bilgi
Sub KULLANICIDEGISTIR()
Dim xWs As Worksheet
Dim xComment As Comment
Dim oldName As String
Dim newName As String
newName = "ALİ ARAS"
On Error Resume Next
For Each xWs In Application.ActiveWorkbook.Worksheets
For Each xComment In xWs.Comments
oldName = Left(xComment.Text, InStr(1, xComment.Text, ":") - 1)
If oldName <> newName Then
xComment.Text (Replace(xComment.Text, oldName, newName))
End If
Next
Next
End Sub