Consulting

Results 1 to 3 of 3

Thread: Cover Page doesn't show

  1. #1
    VBAX Regular
    Joined
    Jan 2019
    Posts
    9
    Location

    Cover Page doesn't show

    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

  2. #2
    Knowledge Base Approver VBAX Guru macropod's Avatar
    Joined
    Jul 2008
    Posts
    4,435
    Location
    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.
    Cheers
    Paul Edstein
    [Fmr MS MVP - Word]

  3. #3
    VBAX Regular
    Joined
    Jan 2019
    Posts
    9
    Location
    You were right, There was a header that i didnt noticed in the document. It work after i removed it.

    Thank you

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •