Comments.Add(Range, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Comment object that represents a comment added to a range.
public Microsoft.Office.Interop.Word.Comment Add (Microsoft.Office.Interop.Word.Range Range, ref object Text);
abstract member Add : Microsoft.Office.Interop.Word.Range * obj -> Microsoft.Office.Interop.Word.Comment
Public Function Add (Range As Range, Optional ByRef Text As Object) As Comment
Parameters
- Range
- Range
Required Range object. The range to have a comment added to it.
- Text
- Object
Optional Object. The text of the comment.