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
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top