Cindy
Wed Jan 07 11:32:25 CST 2004
Hi Zabu,
> I would like to create a document that has a command button that will create
> a page break and insert a file to the new page and keep the command button
> at the bottom of the page so the procedure can be repeated on a daily basis.
>
That shouldn't be a problem.
1. Make sure you format the command button to be "inline" with the text
2. Set a RANGE to the line just above the command button and insert the file
to that range. Very roughly:
Private Sub CommandButton1_Click()
Dim rng As Word.Range
Set rng = Selection.Range
rng.MoveEnd wdParagraph, -2
rng.InsertFile 'etc.
End Sub
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word
This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)