Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / March 2006

Tip: Looking for answers? Try searching our database.

Page header ...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Berny - 20 Mar 2006 08:25 GMT
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
Jean-Guy Marcil - 20 Mar 2006 16:04 GMT
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...)

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org 

Berny - 21 Mar 2006 16:02 GMT
Hi Jean-Guy,

The problem is solved. Thanx anyway for your help.
Lucky there are MVP people on-line reading/solving these posts.
Look at
http://groups.google.be/group/microsoft.public.word.pagelayout/browse_frm/thread
/1d29be274e6981d4


Best regards,
Bernard
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.