Results 1 to 6 of 6

VBA to create custom headers for certain worksheets in a workbook

Threaded View

The_Snook VBA to create custom headers... 11-10-2016, 11:22 AM
xlnitwit Re: VBA to create custom... 11-10-2016, 11:51 AM
The_Snook Re: VBA to create custom... 11-11-2016, 05:06 AM
xlnitwit Re: VBA to create custom... 11-11-2016, 05:20 AM
The_Snook Re: VBA to create custom... 11-11-2016, 05:32 AM
xlnitwit Re: VBA to create custom... 11-30-2016, 04:27 AM
  1. #1
    Valued Forum Contributor
    Join Date
    09-09-2009
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2021
    Posts
    1,019

    VBA to create custom headers for certain worksheets in a workbook

    Hi,

    I'd like to create custom headers for certain worksheets in my workbook. They will need to be a mix of text and a date reference from a cell in the workbook. The worksheets are called:
    • Spend
    • Savings
    • Sector
    • Customer & Supplier
    • MI

    The first text element will be "Performance Report".

    The date (located in a tab called 'Lookup', cell C19, that has a named range of 'Lookup.MonthSelected') is input in the format xx/xx/xxxx. I'd like it to show in the header in the format mmmm yyyy.

    The last text element will be as follows in relation to the list above.
    • "- Spend Analysis"
    • "- Savings Position"
    • "- Sector Analysis"
    • "- Customer & Supplier Analysis"
    • "- MI Position"

    For example, the header for the 'Spend' tab will be 'Performance Report November 2016 (or whatever date is selected in Lookup!C19) - Spend Analysis'

    Thanks in advance,

    Snook
    Last edited by The_Snook; 11-11-2016 at 05:33 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create pivot Data from different Workbook With Different Column Headers.
    By danallamas in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-26-2016, 08:21 AM
  2. Replies: 4
    Last Post: 02-08-2014, 02:31 PM
  3. How to create new workbook with custom ribbon in VBA
    By MichalJB in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-25-2013, 02:52 PM
  4. Create headers in workbook based on cell references.
    By Saggy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-15-2013, 11:04 AM
  5. Replies: 3
    Last Post: 11-29-2012, 03:38 PM
  6. How do I change headers for all worksheets in a workbook?
    By frankfine in forum Excel General
    Replies: 7
    Last Post: 08-11-2005, 12:05 PM
  7. Replies: 2
    Last Post: 03-30-2005, 08:06 PM

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