Altova Authentic 2024 Browser Edition

AuthenticRange.InsertRow

Home Prev Top Next

See also

 

Method: InsertRow () as Boolean

 

Description

If the beginning of the range is inside a dynamic table, this method inserts a new row before the current one. The selection of the range, gets modified to point to the beginning of the newly inserted row. The function returns true if the insert operation was successful, otherwise false.

 

Errors


2001

The authentic range object, or its related view object is no longer valid.


2005

Invalid address for the return parameter was specified.

 

Examples

' -------------------------------------------------------------

'                      VBScript

' Insert row at beginning of current dynamically growing table

' -------------------------------------------------------------

Dim objRange

Set objRange = objPlugin.AuthenticView.Selection

 

' check if we can insert something

If objRange.IsInDynamicTable Then

 objRange.InsertRow

 ' objRange points to beginning of new row

 objRange.Select

 End If

 

© 2018-2024 Altova GmbH