HTMLDivisions.Add Method

Returns an HTMLDivision object that represents a new HTML division added to a Web document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Add ( _
    ByRef Range As Object _
) As HTMLDivision
'Usage
Dim instance As HTMLDivisions
Dim Range As Object
Dim returnValue As HTMLDivision

returnValue = instance.Add(Range)
HTMLDivision Add(
    ref Object Range
)

Parameters

  • Range
    Type: System.Object%
    Optional Object. An existing HTML division around which to place the new HTML division.

Return Value

Type: Microsoft.Office.Interop.Word.HTMLDivision

See Also

Reference

HTMLDivisions Interface

HTMLDivisions Members

Microsoft.Office.Interop.Word Namespace