greget.blogg.se

How to make header only on first page in word
How to make header only on first page in word





how to make header only on first page in word

With ActiveDocument.Sections(1).Headers(wdHeaderFooterFirstPage) I did, of course, implement it properly in a function, which I call, when I need it -) ActiveDocument.Sections(1).PageSetup.DifferentFirstPageHeaderFooter = True So I just removed the anchor and now the image gets attached properly in each header, no matter if on page 1 or 2 or 13. I was just using code, which I knew to work with the format of the images. Originally I was defining the anchor, where I attached the image, as Anchor:=Selection.Range. It had to do with the way I was adding the image. I figured out, why the image was "moving" to page 2, when I added a second (and third and so on) page. Sections(1).Footers(wdHeaderFooterPrimary) _ I have also tried to preemptively add the header to the following pages, but it doesn't seem to work With ActiveDocument Sections(1).Footers(wdHeaderFooterFirstPage) _ My code at the moment is something like the following, although I have removed the parts for image formating, since it isn't relevant in my opinion: With ActiveDocument So basically the question I have is, if I can add a picture to a header from the second page onward, while the page doesn't exist yet? This means, that when I add a picture into the header on the first page via VBA code and I add text (or just blank space), the logo doesn't get repeated. I do have a constraint, that the footer on the first page is different to the ones from the second page onwards.

  • Depending on the choice of company/logo, different content is added to the letter.
  • The user can choose between different companies and logos via a UserForm.
  • The user opens the template via "Document>New" in Word.
  • how to make header only on first page in word

    To simplify the user experience, the original template gets generated with only one page.

    how to make header only on first page in word

    Is there any way to ONLY have a header on the cover page? The headers on the subsequent pages seem to be disrupting the normal content flow and the top margin.I need to create a Word-Template, which dynamically adds a logo into the header of a letter. The issue is likely rooted in the fact that even though my non-first page headers are blank, they are still there. Except the moment the margin is adjusted, the headers for every page become banners. 8, set Apply To: as This Point Forward and clicked Apply. What I did was go to page 2, open Page Layout, open the Page Setup flyout, set margin-top to. However, when I try to adjust the top-margin for pages after page 1, I run into issues. I created a unique first page header by clicking the Different First Page option in the Header & Footer Tools section and this gave me the banner on page 1 and blank headers on all new pages. I can accomplish one or the other just fine, but doing both creates a problem. 8 margin-top for all pages except the first. A header that displays only on the first page.I am trying to create a letterhead template in Word 2010 and the template needs two things:







    How to make header only on first page in word