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

ActiveSheet.PageSetup.CenterHeader ="&""Arial,Bold""&14",
Range("D7").Value

I can get the custom header to equal a cell value, I just
can't get it to format the way I want?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Custom Header

scrabtree,
You need to change the "," to "&", as in:
ActiveSheet.PageSetup.CenterHeader ="&""Arial,Bold""&14"&Range("D7").Value

NickHK

"scrabtree" wrote in message
...
ActiveSheet.PageSetup.CenterHeader ="&""Arial,Bold""&14",
Range("D7").Value

I can get the custom header to equal a cell value, I just
can't get it to format the way I want?



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 Carmel Setting up and Configuration of Excel 1 November 29th 05 05:58 PM
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 do I permanetly add custom header to excel header list? GARY Excel Discussion (Misc queries) 1 December 15th 04 08:52 PM
Custom Header Josh O. Excel Discussion (Misc queries) 1 December 1st 04 06:56 PM


All times are GMT +1. The time now is 12:22 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"