PDA

View Full Version : [SOLVED:] Cover Page doesn't show



MikeAu
01-11-2019, 08:58 AM
At work we have a big VBA program that basically creates a Service manuel automatically. It works well however a cover page is suppose to be added but its not showing.
This is the codes concerned:
...
If angfr = "vbYES" Then
ChangeFileOpenDirectory roa
Selection.InsertFile FileName:="Word_partie1V2.docx", Range:="" _
, ConfirmConversions:=False, Link:=False, Attachment:=False
...

"Word_partie1V2.docx" is three page that are added to the manual when the program is activated and it contains the cover page which doesn't show. However, every words and other table that this doc contains are showing so i don't get why the background of my cover page doesn't show aswell.

Thank you, tell me if you have any other questions

macropod
01-11-2019, 10:07 PM
If your destination document already has header/footer content in the Section concerned, you won't get the corresponding header/footer content from the source document. Presumably, your cover page background is attached to the page header.

MikeAu
01-14-2019, 07:44 AM
You were right, There was a header that i didnt noticed in the document. It work after i removed it.

Thank you