I'm converting from VBA to Office.js and I'm unable to find an office.js function for Word that is equivalent to Selection.MoveRight function in VBA. Is there a simple way to do similar things?
For example, I have a string of characters and inline images, and I would like to move right for designated N characters (including inline images), then insert a line break:
This is easy to do in VBA like below. How could I do the same thing in office.js?
Selection.MoveRight Unit:=wdCharacter, Count:= N
Selection.TypeParagraph
