LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 137
Default Custom Worksheet Header

I had this as my header
ActiveSheet.PageSetup.CenterHeader = DBID_Name + " Import"

Then I wanted to format my header and created a macro to see the code. Ended
up with this
..CenterHeader = "&""Arial,Bold""&12Collateral Import"

How do I take the formatted header, but still use the variable DBID_Name in
in place of the literal Collateral in the header? I can not get the syntax
correct.

Brenda


 
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/footer with many pages in one worksheet Positive Excel Worksheet Functions 11 August 21st 07 05:22 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
Can a custom header be copied to another worksheet? Roberta Excel Discussion (Misc queries) 5 June 3rd 05 08:42 PM
Share Excel worksheet custom header/footer throughout workbook. zilla1906 Excel Worksheet Functions 2 January 12th 05 11:53 AM
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 03:06 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"