borderAndreaVB free resources for Visual Basic developersborder

AndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincani

AndreaVB Home | News Home | Forum Home | Downloads | Register | Search | PM | Profile

Previous Topic (Import excel file into ms flexgrid)Next Topic (Replace EXCEL Objects (linked) in WORD) New Topic Post Reply
AndreaVB OnLine : VBA (Access, Excel, Word, ...) : InsertFile -> No header
Poster Resource
kembreg
Level: Trainee

Registered: 15-01-2009
Posts: 1
icon InsertFile -> No header

Hi all.

I have a file which is empty except for a specific, predefined header.

I wrote a marco to Insert this file into another.
However, it doesn't insert the header.

ActiveDocument.Range.InsertFile
FileName:="Empty file with header.doc"

What needs to be done to include the header when inserting a file?

Thanks!

David



____________________________
David

15-01-2009 at 01:22 PM
View Profile Send Email to User Show All Posts | Add Comment
AndreaVB OnLine : VBA (Access, Excel, Word, ...) : InsertFile -> No header
Previous Topic (Import excel file into ms flexgrid)Next Topic (Replace EXCEL Objects (linked) in WORD)New Topic Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2010 Andrea Tincaniborder