Probably better if you gave us the long story of just why you had to use
text boxes.
However, to answer your specific question
Set myrange = ActiveDocument.Range
With myrange
.Collapse Direction:=wdCollapseEnd
.InsertBreak Type:=wdPageBreak
End With

Signature
Hope this helps.
Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.
Doug Robbins - Word MVP
>I am doing a template for a client which consists of 4 master pages, which
> are selected via a button on the toolbar. To cut a long story short I've
[quoted text clipped - 16 lines]
> Any help would be appreciated.
> TIA
Thanks for your answer. Since the project will be used by a lot of people, I
have a procedure that open Word references at the opening of the excel file
and close the reference before the close of the excel file. To modify the
reference, it required that the user has clicked the security option:
confident with visual basic project. I don't know if it possible to make a
.inf that modification the registration key of Excel?
>1) Instead of setting up the styles every time, better is to create a
>template that already has the styles you want, then create your document
>based on that template.
My problem is that the program will be used by a lot of people around
different office. It will be hard to put a template on a server with the same
path.
>2) Don't use the Selection object. Do everything with Ranges.
How can I go paragraph to paragraph without using selection?
>4) If you're using early binding, don't use late binding to instantiate Word
Yes, I'll use early binding and use directly Set WordApp = Word.Application
Thanks!
Alex

Signature
Alex St-Pierre
> I am doing a template for a client which consists of 4 master pages, which
> are selected via a button on the toolbar. To cut a long story short I've had
[quoted text clipped - 12 lines]
> Any help would be appreciated.
> TIA
Alex St-Pierre - 26 Nov 2006 02:47 GMT
Sorry, I posted my message on the wrong post.
Alex

Signature
Alex St-Pierre
> Thanks for your answer. Since the project will be used by a lot of people, I
> have a procedure that open Word references at the opening of the excel file
[quoted text clipped - 35 lines]
> > Any help would be appreciated.
> > TIA