Home › Forums › General XMetaL Discussion › strElementName › Reply To: strElementName
Reply to: strElementName
April 26, 2017 at 11:55 pmThanks
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);