Cette page vous a-t-elle été utile ?
Votre avis sur ce contenu est important. N'hésitez pas à nous faire part de vos commentaires.
Vous avez d'autres commentaires ?
1500 caractères restants
MoveLeft Method
BoldRun Method
Calculate Method
ClearFormatting Method
Collapse Method
ConvertToTable Method
ConvertToTableOld Method
Copy Method
CopyAsPicture Method
CopyFormat Method
CreateAutoTextEntry Method
CreateTextbox Method
Cut Method
Delete Method
DetectLanguage Method
EndKey Method
EndOf Method
EscapeKey Method
Expand Method
Extend Method
GoTo Method
GoToEditableRange Method
GoToNext Method
GoToPrevious Method
HomeKey Method
InRange Method
InsertAfter Method
InsertBefore Method
InsertBreak Method
InsertCaption Method
InsertCaptionXP Method
InsertCells Method
InsertColumns Method
InsertColumnsRight Method
InsertCrossReference Method
InsertCrossReference_2002 Method
InsertDateTime Method
InsertDateTimeOld Method
InsertFile Method
InsertFormula Method
InsertParagraph Method
InsertParagraphAfter Method
InsertParagraphBefore Method
InsertRows Method
InsertRowsAbove Method
InsertRowsBelow Method
InsertStyleSeparator Method
InsertSymbol Method
InsertXML Method
InStory Method
IsEqual Method
ItalicRun Method
LtrPara Method
LtrRun Method
Move Method
MoveDown Method
MoveEnd Method
MoveEndUntil Method
MoveEndWhile Method
MoveLeft Method
MoveRight Method
MoveStart Method
MoveStartUntil Method
MoveStartWhile Method
MoveUntil Method
MoveUp Method
MoveWhile Method
Next Method
NextField Method
NextRevision Method
NextSubdocument Method
Paste Method
PasteAndFormat Method
PasteAppendTable Method
PasteAsNestedTable Method
PasteExcelTable Method
PasteFormat Method
PasteSpecial Method
Previous Method
PreviousField Method
PreviousRevision Method
PreviousSubdocument Method
RtlPara Method
RtlRun Method
Select Method
SelectCell Method
SelectColumn Method
SelectCurrentAlignment Method
SelectCurrentColor Method
SelectCurrentFont Method
SelectCurrentIndent Method
SelectCurrentSpacing Method
SelectCurrentTabs Method
SelectRow Method
SetRange Method
Shrink Method
ShrinkDiscontiguousSelection Method
Sort Method
Sort2000 Method
SortAscending Method
SortDescending Method
SortOld Method
SplitTable Method
StartOf Method
ToggleCharacterCode Method
TypeBackspace Method
TypeParagraph Method
TypeText Method
WholeStory Method
Collapse the table of content
Expand the table of content

Selection.MoveLeft Method

Moves the selection to the left and returns the number of units it's been moved.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Dim Unit As Object
Dim Count As Object
Dim Extend As Object
Dim returnValue As Integer
Dim selection1 As Selection
returnValue = selection1.MoveLeft(Unit, Count, Extend)

int MoveLeft(
	[In, Optional] ref object Unit, 
	[In, Optional] ref object Count, 
	[In, Optional] ref object Extend
public int MoveLeft(
	/*in*/System.Object Unit, 
	/*in*/System.Object Count, 
	/*in*/System.Object Extend
function MoveLeft(
	 Unit : Object, 
	 Count : Object, 
	 Extend : Object
) : int;



Optional WdUnits. The unit by which the selection is to be moved.


Optional Object. The number of units the selection is to be moved. The default value is 1.


Optional Object. Can be either wdMove or wdExtend. If wdMove is used, the selection is collapsed to the end point and moved to the left. If wdExtend is used, the selection is extended to the left. The default value is wdMove.

When the Unit is wdCell, the Extend argument will only be wdMove.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

© 2015 Microsoft