Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8833927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:54:01+00:00 2026-06-14T08:54:01+00:00

I have a workbook with ten different spreadsheets inside it. Each spreadsheet has a

  • 0

I have a workbook with ten different spreadsheets inside it. Each spreadsheet has a header that follows this format: “Project Name – Name of Spreadsheet – Revision Date:”.

For instance, example spreadsheet headers should look like this:

"Test Project - Form 1 - Revision Date: "
"Test Project - Form 2 - Revision Date: "
"Test Project - Form 3 - Revision Date: "

And so on..

I would like to accommodate the user by only making them type the “Project Name” one time, and then it would auto-fill the rest of the headers with that value. I know it can be done quite easily with cells, but I’m not very experienced with Excel. Can this be done with headers?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T08:54:03+00:00Added an answer on June 14, 2026 at 8:54 am

    If you mean the header which can only be seen in the Layout View and the Print Preview, that cannot be set using simple excel functions. You should do it in a macro.

    If you store the project name in the cell A1, and the revision date in the cell B1, then you could place a button to the same sheet. The text of the button could be “Fill Headers”, and the macro that it would run is this code:

    Sub FillHeaders()
    
        For Each wSheet In ActiveWorkbook.Worksheets
    
            If wSheet.Name <> "Cover Page" Then
    
                wSheet.PageSetup.CenterHeader = _
                    ActiveSheet.Range("A1") & " - " & _
                    wSheet.Name & " - Revision date: " & _
                    ActiveSheet.Range("B1")
    
            End If
    
        Next wSheet
    
    End Sub
    

    This will go through all sheets (except the one named “Cover Page”) and set the center headers to the text you need. Since ActiveWorksheet is the one where you pushed the button, therefore the A1 and B1 cells from that sheet will be used in the header text.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a workbook that has a lot of different macros in it, as
I have an excel workbook that is used to track tasks by project. Each
I have a workbook (wkbk1) that has a sheet with eight different query tables
I have a workbook that has many checkboxes (form control) on one tab. I
I have an Excel Workbook that has several worksheets in it. The tables in
So I have an excel workbook that has a nice global map of shaperange
This is driving me CRAZY. I have a workbook/sheet that I refer to via
I have an excel workbook that uses VBA. This VBA works fine except when
I have an open workbook that has a bunch of macros in it, one
I currently have a C# Workbook-level Office 2007 Addin that has a Worksheet added

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.