Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Copying headers and footers between sheets

Is this possible? User has a workbook with multiple sheets already set up.
They want to copy the header and footer from one of the sheets to all other
sheets.

I'd like to set it up so that it prompts them for the sheet with the h/f to
be copied and then asks which other sheet(s) to copy it to.

I don't want the actual code (like to struggle through that myself) - just a
helpful shove in the right direction. :)

Lauri
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 32
Default Copying headers and footers between sheets

Forgot to mention - I'm using version 2000.


"LauriS" wrote:

Is this possible? User has a workbook with multiple sheets already set up.
They want to copy the header and footer from one of the sheets to all other
sheets.

I'd like to set it up so that it prompts them for the sheet with the h/f to
be copied and then asks which other sheet(s) to copy it to.

I don't want the actual code (like to struggle through that myself) - just a
helpful shove in the right direction. :)

Lauri

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,986
Default Copying headers and footers between sheets

The header and footer is part of the PageSetup. Rather than copy, you could
just use the same PageSetup code for each sheet. This code would put the
header on all sheets. You can work from there.

For i = 1 To Sheets.Count
Sheets(i).PageSetup.CenterHeader = "&"Arial" &12 HeaderText"
Next

"LauriS" wrote:

Forgot to mention - I'm using version 2000.


"LauriS" wrote:

Is this possible? User has a workbook with multiple sheets already set up.
They want to copy the header and footer from one of the sheets to all other
sheets.

I'd like to set it up so that it prompts them for the sheet with the h/f to
be copied and then asks which other sheet(s) to copy it to.

I don't want the actual code (like to struggle through that myself) - just a
helpful shove in the right direction. :)

Lauri

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
can you set up global headers & footers for all sheets in a file? Donna Excel Discussion (Misc queries) 2 October 24th 08 07:05 PM
Headers & Footers Liz F Excel Worksheet Functions 3 October 3rd 08 12:54 AM
Headers/footers daisy Excel Worksheet Functions 2 September 13th 07 03:54 PM
Can I duplicate headers and footers on multiple sheets? HeatherDBecerra Excel Worksheet Functions 2 April 13th 07 09:12 PM
Headers and Footers bo Excel Discussion (Misc queries) 1 September 29th 06 07:56 PM


All times are GMT +1. The time now is 06:59 PM.

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"