How do I insert a page break in the function of Word Automation. The instructions that I have tried do not
work:
Set objWord = OA1.ActiveDocument
Set objApp = OA1.Application
objApp.Selection.InsertBreak Type:=wdPageBreak
Can you help?
Solution:
Use the number to replace the emun.
Set objApp = OA1.Application
objApp.Selection.InsertBreak 7
Leave a Reply
You must be logged in to post a comment.
Recent Comments