我是word的VBA宏的新手。我需要改变一个激动人心的宏在word中的注释操作。我需要将注释引用添加到字符串中。所谓的注释引用是方括号内的字符串,这里是SM4:
链接到图像http://dl.dropbox.com/u/13765664/wordcomment.png
如何获取注释引用?
发布于 2012-01-28 00:02:52
我完全不懂re Word编码,但这似乎能做你想要的事情:
Dim ocom As Comment
For Each ocom In ActiveDocument.Comments
With ocom
MsgBox .Author & vbCrLf & .Initial
MsgBox .Range.Text
End With
Next
https://stackoverflow.com/questions/9031951
复制相似问题