Expand Minimize
This topic has not yet been rated - Rate this topic

Selection.Next Method

Returns a Range object that represents the specified unit relative to the specified selection.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Range Next(
	ref Object Unit,
	ref Object Count
)

Parameters

Unit
Type: System.Object%
Optional Object. The type of units by which to count. Can be any WdUnits constant.
Count
Type: System.Object%
Optional Object. The number of units by which you want to move ahead. The default value is one.

If the selection is just before the specified Unit, the selection is moved to the following unit.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.