How can I change the Author of comments in MS Word for Mac?
Solution 1
To remove (not change) the username follow this guide
On the Word menu, click Preferences.
Under Personal Settings, click Security.
Under Privacy options, select the Remove personal information from this file on save check box.
Save the document.
otherwise this question has an answer which would take a lot of manual work: How to change the name of a reviewer in Word?
Solution 2
Since Word for Mac 2011 supports macros you should be able to automate this by placing all your documents in one folder and running the code below.
Change vDirectory to the path of the folder which contains the documents to modify. The sAuthorName variable should contain the replacment name. The required function GetFilesOnMacWithOrWithoutSubfolders can be found online here.
Disclamer: This macro has not been tested on a MAC
Sub ChangeAuthorInDocumentComments ()
Dim vDirectory As String
Dim sAuthorName As String
Dim oDoc As Document
vDirectory = "C:\Docs\"
sAuthorName = "Adam"
MyFiles = ""
Call GetFilesOnMacWithOrWithoutSubfolders(Level:=1, ExtChoice:=7, FileFilterOption:=3, FileNameFilterStr:=".doc")
Application.ScreenUpdating = False
If MyFiles <> "" Then
MySplit = Split(MyFiles, Chr(10))
For FileInMyFiles = LBound(MySplit) To UBound(MySplit) - 1
Set oDoc = Documents.Open(MySplit(FileInMyFiles))
For Each Ocom In ActiveDocument.Comments
With Ocom
Ocom.Author = sAuthorName
End With
Next
oDoc.Close SaveChanges:=True
Next FileInMyFiles
End If
Application.ScreenUpdating = True
End Sub
Related videos on Youtube
Anisetty Mounika
Updated on September 18, 2022Comments
-
Anisetty Mounika over 1 year
I write the following code and display data into Hstack on scrollview
in my case, I receive 10 items from a service call and shown those in Hstack When the user enters into screen first time first 5 days are visible,
But I need to show the last 5 dates first.
Need to visible last index first time(when entering into the screen).
i.e need to show current days first
HStack(alignment:.center){ GeometryReader{ proxy in ScrollView(.horizontal) { LazyHStack { ForEach(days.indices, id: \.self) { i in CalendarView( number: days[i].number, days: days[i].weekday, color: days[i].isToday ? #colorLiteral(red: 0.9060331583, green: 0.2547450066, blue: 0.3359550834, alpha: 1) : #colorLiteral(red: 1, green: 1, blue: 1, alpha: 1), textcolor: days[i].isToday ? #colorLiteral(red: 1, green: 1, blue: 1, alpha: 1) : #colorLiteral(red: 0, green: 0, blue: 0, alpha: 1), proxy: proxy ) .onTapGesture{ print(days[i]) // this is just for replacing the current selection for j in days.indices { days[j].isToday = false } days[i].isToday = true } } } } } } .padding([.trailing,.leading],3)
-
long over 10 yearsPossible duplicate of this question. Good luck.
-