Page header ...

B

Berny

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
 
J

Jean-Guy Marcil

Berny was telling us:
Berny nous racontait que :
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..."

We would have to see what else your code does with the Selection object
prior to this line.

It might be best to avoid using the Selection object and to use a Range
object (again, depending on what your code does...)


--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
[email protected]
Word MVP site: http://www.word.mvps.org
 
Top