Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB 6 and MS Word

Status
Not open for further replies.

emorphis

Programmer
Jun 5, 2001
5
US
I am trying to import a picture file into a Word Document. I can insert one into the first page without a problem. I need to insert a picture into other pages also. Is there any code out there that can do this?
 
is this a blank document where you want to go to a new page and then insert another picture? IF so jsut insert a page break after you insert the first picture.
Selection.InsertBreak Type:=wdPageBreak
then insert your next picture.
You mention VB6 in the subject line of your post. If you are doing this from vb you will need to include your word application object. Something along the lines of.
objWord.activedocument. Selection.InsertBreak Type:=wdPageBreak
[rainbow]
hope this helps!


Sam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top