我想知道是否有一种方法可以更改文档修订版本的作者,我已经找到了更改评论作者的方法,但没有找到修订部分的方法。我已经尝试在Revisions.object文档中寻找更改属性/方法,但没有找到。
就像我说的,我已经尝试过这样做:
Sub ChangeCommentCreator()
Dim I As Long
Dim Novo As String
Dim Corto As String
If Selection.Comments.Count = 0 Then
MsgBox "No comments in your selection!", vbInformation, "Alerta"
Exit Sub
End If
Novo = InputBox("New author name?", "Alerta")
Corto = InputBox("New author initials?", "Alerta")
If Novo = "" Or Corto = "" Then
MsgBox "The author name/initials can’t be empty.", vbInformation, "Alerta"
Exit Sub
End If
With Selection
For I = 1 To .Comments.Count
.Comments(I).Author = Novo
.Comments(I).Initial = Corto
Next I
End With
End Sub
我是否在正确的方向上,或者说没有改变的可能性?