ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Any known Add-In to find/replace...... (https://www.excelbanter.com/excel-programming/287896-any-known-add-find-replace.html)

Flamikey[_3_]

Any known Add-In to find/replace......
 
text strings in comments? I have some very large files riddled with
comments from past users. I would like to find the "Entered BY" names
in the comments and replace all in one step. Thx


---
Message posted from http://www.ExcelForum.com/


Beto[_3_]

Any known Add-In to find/replace......
 
Flamikey < wrote:

text strings in comments? I have some very large files riddled with
comments from past users. I would like to find the "Entered BY" names
in the comments and replace all in one step. Thx


Sub ChangeCommentsName()
Set cmt = Worksheets("Hoja2").Comments
For Each c In cmt
c.Text "New Name:" & Chr(10) & Right(c.Text, _
Len(c.Text) - InStr(c.Text, ":") - 1)
Next
End Sub

This might get you started.
--
Beto
Reply: Erase between the dot (inclusive) and the @.
Responder: Borra la frase obvia y el punto previo.



All times are GMT +1. The time now is 08:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com