Home Forums General XMetaL Discussion strElementName Reply To: strElementName

C4

Reply to: strElementName

Thanks

I tried both of those and it took me to the beginning of the element.

I've changed my code to this and it seems to work.

var rng=ActiveDocument.Range;
rng.MoveToElement(“P”,true);
rng.Select();
Selection.SelectAfterNode(Selection.ContainerNode);

Reply

Products
Downloads
Support