Probleme with the margin as I insert a file

M

Michel

Hi,
In a macro i insert a file in another file. The target file has a
macro but has the same style as my source file, however, i lose all
the margins and espcialy with the arrays wich seem to loose their
anchors ...
Has anyone already encountered this kind of problems??

here is a copy of the code that does the insertion :
/...
Selection.InsertFile chemin + nomFich
ActiveDocument.SaveAs FileName:=nomFich, _
FileFormat:=wdFormatDocument
..../
Thanks for your help ...
Michel
 
W

Word Heretic

G'day (e-mail address removed) (Michel),

When you insert a file into another, the hosting document does not
alter its properties based on the insert - rather it streams the text
in from that insertion point on.

Steve Hudson - Word Heretic
Want a hyperlinked index? S/W R&D? See WordHeretic.com

steve from wordheretic.com (Email replies require payment)


Michel reckoned:
 

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