+ Reply to Thread
Results 1 to 2 of 2

Want to create custom header and footer code to apply to all worksheets at wkbook creation

  1. #1
    Registered User
    Join Date
    06-23-2012
    Location
    Maine
    MS-Off Ver
    Excel 2010
    Posts
    1

    Want to create custom header and footer code to apply to all worksheets at wkbook creation

    I want to populate all six locations of the header and footer in all sheets within a workbook with standard items when creating workbooks. For example,

    LeftHeader= Company name
    CenterHeader= content of cell A1
    RightHeader= "Printed "& current date

    LeftFooter= filename + worksheet name
    CenterFooter= Department name
    RightFooter= Last modified date

    I'm thinking this could be a macro applied when opening the new workbook, but the items within the workbook should update immediately when changed.

    How best to do this?

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: Want to create custom header and footer code to apply to all worksheets at wkbook crea

    You can create a template.
    Never use Merged Cells in Excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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