Skip to main content

Conas ainm an údair a athrú le haghaidh tuairimí Word

Tá an t-alt seo ag caint ar ainm an údair réamhshocraithe a athrú le haghaidh tuairimí, nó ainm an údair atá ann cheana a athrú i ndoiciméad go ceann nua. Bain triail as an dá mhodh thíos le do thoil.

Athraigh ainm údair na dtuairimí le húsáid sa todhchaí

Athraigh ainm údair an doiciméid atá sna tuairimí atá ann cheana


Athraigh ainm údair na dtuairimí le húsáid sa todhchaí

Más mian leat ainm údair an nóta tráchta a athrú le húsáid sa todhchaí, athraigh an tAinm Úsáideora isteach Word Fuinneog roghanna.

1. I oscail Word doiciméad, cliceáil Comhad > Roghanna. Sa an Word Roghanna fuinneog, déan cinnte go bhfuil tú ag lonnú sa Go ginearálta cluaisín, athraigh an t-ainm sa Ainm Úsáideora bosca mar a thaispeántar thíos an scáileán, agus cliceáil ar deireadh OK cnaipe.

Anois tá an t-ainm úsáideora réamhshocraithe athraithe agat le haghaidh tuairimí isteach Word doiciméad.


Athraigh ainm údair an doiciméid atá sna tuairimí atá ann cheana

Má tá doiciméad faighte agat le go leor tuairimí, agus gur mhaith leat ainmneacha údair na dtuairimí go léir a athrú go ceann áirithe, déanfaidh an cód VBA seo a leanas bhfabhar duit.

1. Roghnaigh an raon ina bhfuil tráchtanna nó roghnaigh an doiciméad iomlán athróidh tú ainmneacha na n-údar trí bhrú ar an Ctrl + A eochracha, brúigh an Eile + F11 eochracha a oscailt Microsoft Visual Basic d’Fheidhmchláir fhuinneog.

2. San oscailt Microsoft Visual Basic d’Fheidhmchláir fuinneog, cliceáil Ionsáigh > Modúil. Ansin cóipeáil thíos cód VBA isteach i bhfuinneog an Mhodúil.

Cód VBA: Athraigh ainm údair an doiciméid atá ann cheana féin

Sub ChangeCommentAuthor()
'Updated by EntendOffice 20181112
    Dim I As Long
    Dim xNewName As String
    Dim xShortName As String
    If Selection.Comments.Count = 0 Then
        MsgBox "No comments in your selection!", vbInformation, "KuTools for Word"
        Exit Sub
    End If
    xNewName = InputBox("New author name?", "KuTools for Word")
    xShortName = InputBox("New author initials?", "KuTools for Word")
    If xNewName = "" Or xShortName = "" Then
        MsgBox "The author name/initials can’t be empty.", vbInformation, "Kutools for Word"
        Exit Sub
    End If
    With Selection
        For I = 1 To .Comments.Count
            .Comments(I).Author = xNewName
            .Comments(I).Initial = xShortName
        Next I
    End With
End Sub

3. Brúigh an F5 eochair chun an cód a rith. San oscailt Nótaí Ainm an Údair bosca dialóige, cuir ainm an údair nua isteach sa bhosca téacs agus cliceáil ar an OK cnaipe.

4. Sa chéad oscailt eile Túslitreacha tosaigh bosca dialóige, iontráil na ceannlitreacha de réir mar is gá duit agus cliceáil ar an OK cnaipe.

Ansin athraítear ainmneacha údair na dtuairimí uile sa raon roghnaithe go dtí an ceann sonraithe díreach mar atá thíos an pictiúr a thaispeántar.


molta Word Uirlisí Táirgiúlachta

 

Kutools For Word - Níos mó ná 100 Ardghnéithe Do Word, Sábháil Do Am 50%.

  • Is féidir oibríochtaí casta agus arís agus arís eile a dhéanamh próiseáil aon-uaire i soicindí.
  • Cuir isteach íomhánna iolracha trasna fillteáin isteach Word doiciméad láithreach.
  • Cumaisc agus cuir le chéile iolrach Word comhaid trasna fillteáin isteach i gceann le d'ordú inmhianaithe.
  • Roinn an doiciméad reatha i ndoiciméid ar leithligh de réir ceannteidil, briseadh ailt nó critéir eile.
  • Tiontaigh comhaid idir Doc agus Docx, Docx agus PDF, bailiú uirlisí le haghaidh comhshó agus roghnú coitianta, agus mar sin de ...
Comments (30)
Rated 5 out of 5 · 1 ratings
This comment was minimized by the moderator on the site
Fantastic - many thanks!!!
Rated 5 out of 5
This comment was minimized by the moderator on the site
Thank you, is there a solution to change the picture of the author in the comments into an anonymous one?
This comment was minimized by the moderator on the site
Hi Niccolo,
Sorry can't help you with this problem.
This comment was minimized by the moderator on the site
Cool thanks!
This comment was minimized by the moderator on the site
Boas. No meu caso funcionou muito bem com os "comentarios", mas não alterou o nome de quem fez as "alterações" ao texto. Alguém consegue efectuar a alteração do autor para todos os tipos de marcações: comentarios, alterações, formatação...
This comment was minimized by the moderator on the site
Microsoft ist schon ein Schrott. Je neuer die Versionen sind, umso weniger findet man die Lösung. Wo ändere ich schlichtweg den Autor grundsätzlich. Bei mir wird nichts geändert und ich suche seit über 2 Stunden... einfach nur Schrott das UX von Microschrott
This comment was minimized by the moderator on the site
Excellent information in this post and also in the comments. Thank you everyone.
This comment was minimized by the moderator on the site
Great, worked very well ... thanks
This comment was minimized by the moderator on the site
FOR THOSE WHO WANNA CHANGE AUTHORS ONLY OF CERTAIN COMMENTSOpen your doc with an archiver (e.g. ZIP), go to word folder, find comments.xml file, extract, open with notepad, edit accordingly (ctrl+H to find and change current author and initials to the ones you desire), save, get the file back to word folder in the zip, et voila
This comment was minimized by the moderator on the site
Cette astuce ne fonctionne pas avec toutes les versions d'office
This comment was minimized by the moderator on the site
Bonjour
Cette macro fonctionne bien, mais pour anonymiser l'auteur des corrections dans un texte, il faudrait, en plus de l'auteur des commentaires, pouvoir changer le nom au niveau de marques de révision, et tel n'est pas le cas.
Auriez-vous une solution?
Merci d'avance.
This comment was minimized by the moderator on the site
Wow ! Awesome ! many thanks ! 
This comment was minimized by the moderator on the site
French translation makes the work impossible, due to keyboard differences
This comment was minimized by the moderator on the site
traduction en français inutilisable. Dommage !
This comment was minimized by the moderator on the site
Worked perfectly, thanks!
This comment was minimized by the moderator on the site
That VBA code worked like a charm - thanks!
This comment was minimized by the moderator on the site
I changed my user name as instructed, but my actual name is still showing up in the comments. I am trying to make my comments anonymous while retaining the other reviewer's comments with their name on them.
This comment was minimized by the moderator on the site
Thanks a lot, the VBN code worked like magic!!
This comment was minimized by the moderator on the site
I am very grateful for this information. The VBA codes works Perfectly on a document I don't want the writer to know who the reviewer is yet. Thanks.
This comment was minimized by the moderator on the site
Thank you! It changed perfectly the comments, BUT not formatting, like highlighting. Is there what can be modified in the VBA?
This comment was minimized by the moderator on the site
This appeared to work but I could not save the file without it reverting to the original Author.

My workaround was to change the .docx extension on the filename to .zip. Then I opened the zip file. Browsed to the "word" folder and then copied the "comments.xml" file. Open the "comments.xml" file in a text editor. Do a search and replace of the Author name then saved the file. Copy and replace the old "comments.xml" with the new one in the .zip file. Now change the file extension back to .docx and the Author name is now replaced in the saved Word file.
This comment was minimized by the moderator on the site
You probably had a script enabled that reverted the comments author upon saving.
This comment was minimized by the moderator on the site
Thanks for the tutorial. it really helped me
This comment was minimized by the moderator on the site
Many thanks for this. Works Perfect. A warning though; all comments will be changed, regardless of multiple authors. Something that didn't bother me.
This comment was minimized by the moderator on the site
Here is a modified Macro that will allow you to first specify the Name your want to replace in case there are other comments that you don't want to modify.

Sub ChangeCommentAuthor()
'Updated by EntendOffice 20181112
Dim I As Long
Dim xOldName As String
Dim xNewName As String
Dim xShortName As String
If Selection.Comments.Count = 0 Then
MsgBox "No comments in your selection!", vbInformation, "KuTools for Word"
Exit Sub
End If
xOldName = InputBox("Old author name?", "KuTools for Word")
xNewName = InputBox("New author name?", "KuTools for Word")
xShortName = InputBox("New author initials?", "KuTools for Word")
If xOldName = "" Or xNewName = "" Or xShortName = "" Then
MsgBox "The author name/initials can’t be empty.", vbInformation, "Kutools for Word"
Exit Sub
End If
With Selection
For I = 1 To .Comments.Count
If .Comments(I).Author = xOldName Then
.Comments(I).Author = xNewName
.Comments(I).Initial = xShortName
End If
Next I
End With
End Sub
This comment was minimized by the moderator on the site
La même en anglais

Sub ChangeCommentAuthor()
'Updated 20220603
Dim Index As Long
Dim xOldName As String
Dim xNewName As String
Dim xShortName As String
If Selection.Comments.Count = 0 Then
MsgBox "No comments in your selection!", vbInformation, "KuTools for Word"
Exit Sub
End If
xOldName = InputBox("Old author name?", "KuTools for Word")
xNewName = InputBox("New author name?", "KuTools for Word")
xShortName = InputBox("New author initials?", "KuTools for Word")
If xNewName = "" Or xShortName = "" Then
MsgBox "The author name/initials can't be empty.", vbInformation, "Kutools for Word"
Exit Sub
End If
With Selection
For Index = 1 To .Comments.Count
If (.Comments(Index).Author = xOldName) Then
.Comments(Index).Author = xNewName
.Comments(Index).Initial = xShortName
End If
Next Index
End With
End Sub
This comment was minimized by the moderator on the site
Thank you, Olivier, you are a good person!
This comment was minimized by the moderator on the site
И салат неплох
This comment was minimized by the moderator on the site
The VBA script worked perfectly to change the name of the author to my company name. Thank you!
This comment was minimized by the moderator on the site
Yardımı oldu, teşekkürler.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations