+ Reply to Thread
Results 1 to 3 of 3

[VBA/Macros] How can i copy a page in word with header and footer?

  1. #1
    Registered User
    Join Date
    11-04-2018
    Location
    VietNam
    MS-Off Ver
    2007
    Posts
    4

    Question [VBA/Macros] How can i copy a page in word with header and footer?

    Hi all,
    I use below code for code page k in word file to another, but without header and footer of this page
    How can i copy a page in word with header and footer?

    Please Login or Register  to view this content.
    Thank all

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: [VBA/Macros] How can i copy a page in word with header and footer?

    I'll move this thread to the Word forum where you are more likely to get a response.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: [VBA/Macros] How can i copy a page in word with header and footer?

    You need to either:
    • copy the header & footer separately; or
    • insert a Section break at the end of the page concerned and copy that as well.
    Do note that neither method will assure you of getting any fields that are copied to reproduce the same results as they display in the copied page.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA Copy cell to word header/footer bookmark
    By baljobb in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2017, 08:33 AM
  2. Copy excel sheet name to word footer or header
    By toronto1999 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-18-2016, 10:46 AM
  3. Copy & Paste pictures from Excel into Header (and Footer) of Word
    By RogerPang in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-04-2012, 04:52 AM
  4. Replies: 5
    Last Post: 03-19-2012, 06:14 PM
  5. Header on first, footer on last page?
    By alexa2 in forum Excel General
    Replies: 2
    Last Post: 03-12-2009, 05:36 PM
  6. [SOLVED] header/footer from page
    By BorisS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-13-2005, 08:00 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1