Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Page Header...
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 |
#2
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
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 |
#3
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Page Header...
Hi Stefan,
I found the problem. There was a rectangle object inserted in the header that had it's text wrapping style wrongly selected. I changed the style to be In line with text and the problem was solved. Thanks anyway for your suggestion. Best regards, Bernard |
#4
Posted to microsoft.public.word.pagelayout
|
|||
|
|||
Page Header...
I'm glad you found a solution (though I have to admit I'm curious to
find out how/why it helped). -- Stefan Blom Microsoft Word MVP "Berny" wrote in message oups.com... Hi Stefan, I found the problem. There was a rectangle object inserted in the header that had it's text wrapping style wrongly selected. I changed the style to be In line with text and the problem was solved. Thanks anyway for your suggestion. Best regards, Bernard |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
page number positioning and format | Page Layout | |||
header margins...help! | Tables | |||
Header Moves to next page..I want it to stop. | Microsoft Word Help | |||
Preventing deletion of header | Microsoft Word Help | |||
section breaks change each time opening document | Microsoft Word Help |