Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback. We have to pass a Cursor (otherwise a CType conversion will be requiered, wich wont work anyway) So my question is how do I access the Feature if I can. Selection.Collapse Direction:=wdCollapseStart This example copies the first paragraph in the document and pastes it at the insertion point. search(IQueryFilter queryFilter, boolean recycling, ICursor cursor) Returns a cursor that can be used to retrieve the objects specified by a query over this selection set. When you use this method with a Selection object, the selection does not expand to include the Clipboard contents instead, the selection is positioned after the pasted Clipboard contents. When you use this method with a Range object, the range expands to include the contents of the Clipboard. Use IselectionSet.Search to get a cursor to enumerate through the records selected - dim pCur as icursor dim pRow as iRow arch nothing,false, pCur set pRow pcur.nextrow do until prow is nothing (pRow.value (2)) set prow pcur. If you don't want to replace the contents of the selection, use the Collapse method before using this method. Using this method replaces the contents of the current selection. A variable that represents a Selection object. lowRes: bool scaleFactor: float selectionSet: object viewSize: float windowOrigin: (int,int) windowSize: (int,int). Inserts the contents of the Clipboard at the specified selection.
0 Comments
Leave a Reply. |