Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Custom Header in Excel

Does any one know how to set up dynamic Headers in Excel for multiple
worksheets? For example, the first worksheet header would be "Exhibit 1", the
second worksheet header would be "Exhibit 2" and so on. Please advise and
thank you very much.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,574
Default Custom Header in Excel

One possibility. This assumes Exhibit 1 is in cell A1 of Sheet 1

Enter 1 in cell B1 of sheet 1

Enter =CONCATENATE("Exhibit ",B1)

Enter =CONCATENATE("Exhibit ",Sheet1!B1+1) in A1 of Sheet 2

Etc.

Dave
--
A hint to posters: Specific, detailed questions are more likely to be
answered than questions that provide no detail about your problem.


"Danny Coyle" wrote:

Does any one know how to set up dynamic Headers in Excel for multiple
worksheets? For example, the first worksheet header would be "Exhibit 1", the
second worksheet header would be "Exhibit 2" and so on. Please advise and
thank you very much.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Custom Header in Excel

Danny

Sub Exhibit_in_Header()
Dim ws As Worksheet
Dim i As Long
For i = 1 To Worksheets.Count
For Each ws In ActiveWorkbook.Worksheets
Sheets(i).PageSetup.LeftHeader = "Exhibit " & i
Next ws
Next i
End Sub


Gord Dibben MS Excel MVP

On Wed, 21 Mar 2007 12:32:03 -0700, Danny Coyle
wrote:

Does any one know how to set up dynamic Headers in Excel for multiple
worksheets? For example, the first worksheet header would be "Exhibit 1", the
second worksheet header would be "Exhibit 2" and so on. Please advise and
thank you very much.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom header used in other excel worksheets pcdrafter62 Excel Discussion (Misc queries) 0 May 19th 06 12:09 AM
Can you link a custom property to an Excel custom header text? LouErc Setting up and Configuration of Excel 0 November 8th 05 04:58 PM
Excel: custom header - is it possible to paste into header? Maureen D. Excel Worksheet Functions 0 November 4th 05 03:07 PM
How can I using Excel custom document properties in the header? ecalvo Excel Worksheet Functions 4 November 3rd 05 09:29 PM
how do I permanetly add custom header to excel header list? GARY Excel Discussion (Misc queries) 1 December 15th 04 08:52 PM


All times are GMT +1. The time now is 06:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"