Thread: Page Header...
View Single Post
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Stefan Blom
 
Posts: n/a
Default Page Header...

The following is one way to make sure that the text is inserted in
the main body of the active document:

oWordApp.ActiveDocument.Content.InsertAfter "Text here."

Most likely, you'd get a more knowledgeable reply in a VBA newsgroup,
though.

--
Stefan Blom
Microsoft Word MVP


"Berny" wrote in message
oups.com...
Hi folks,

Can you help me with next problem ?
I am inserting text from Excel into Word using the generic line:


oWordApp.Selection.TypeText Text:="Bla..Bla..Bla..."


The problem is that the text does enter also in the page header.

What
do I have to do to avoid this ? Any suggestions are welcome.


Best regards,
Bernard