Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default formatting headers

Hi

I know that

sheet1.pagesetup.centerheader = "&""ariel,bold""&12HELLO"

puts HELLO in the header and formats it to bold and font
size 12.

How do I replace the HELLO with a variable, as on my
spreadsheet the header is a date variable that is changed
just prior to the sheet being printed?

All help much appreciated
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
Copy formatting (headers, margins, etc) to another sheet? MQS Excel Discussion (Misc queries) 3 December 28th 09 05:15 AM
Formatting Headers & Footers Sonia Excel Discussion (Misc queries) 0 June 10th 08 04:15 PM
Problem formatting pivot table headers Goalie35 Excel Worksheet Functions 3 May 24th 07 10:41 PM
Headers/Footers Formatting Ross Payne Excel Discussion (Misc queries) 1 December 14th 06 03:35 PM
formatting headers need-A-hand Excel Programming 2 November 5th 03 03:03 AM


All times are GMT +1. The time now is 07:58 PM.

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

About Us

"It's about Microsoft Excel"