in reply to Re^4: how to convert this VB code to perl
in thread how to convert this VB code to perl

Off the top of my head (I'm on Linux, not Windows), something like:

$word_ref->Selection->EndKey(wdStory); $word_ref->Selection->InsertBreak(wdPageBreak);

I'm sure you could super search or use Google to find an example, or check the link you have been given in the first reply to this question regards the Microsoft DOM documentation.

Martin