bambookrot.blogg.se

Another word for properties
Another word for properties









Selection.TypeText "Material below is confidential." The following example selects the first sentence in the active document and replaces it with a new paragraph. The Selection object has various methods and properties with which you can edit selected text in a document. Selection.MoveUp Unit:=wdLine, Count:=2, Extend:=wdExtend Selection.HomeKey Unit:=wdLine, Extend:=wdExtend Selection.EndOf Unit:=wdStory, Extend:=wdMove The following example moves the insertion point to the end of the document and selects the last three lines. The Selection object has various methods and properties with which you can collapse, expand, or otherwise change the current selection. StrTemp = Left(strTemp, Len(strTemp) - 1) The following example assigns the text in the current selection to the variable strTemp, removing the last character if it is a paragraph mark. Use this property to set or return the text in the current selection. The Text property is the default property of the Selection object. The following example copies the selection from the first pane of the active document and pastes it into the second pane. The document does not have to be active to access its current selection. The following example deletes the selection from the third document in the Documents collection.

another word for properties

The following example copies the current selection from the active document. If no object qualifier is used with the Selection property, Microsoft Word returns the selection from the active pane of the active document window.

another word for properties

Use the Selection property to return the Selection object. Using VBA Selection commands like Selection.BoldRun on user selection with Comments no longer applies bold formatting on user-selected text or Selection.TypeTxt command or on user selection with Comments no longer inserts text.











Another word for properties