#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Header

Hello,
My friend helped me create a customized header using this VB code, I'm
not sure how to make them font size 12 and bold. Could someone please
help?

Regards,
SV

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Header

Try recording a macro when you change the header--include changing the font size
and bolding--and you'll see the code.

SV wrote:

Hello,
My friend helped me create a customized header using this VB code, I'm
not sure how to make them font size 12 and bold. Could someone please
help?

Regards,
SV


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Header

Example code.

Sub Header_Custom()
With ActiveSheet.PageSetup
.LeftHeader = "&""Algerian,Bold""&16hoohah"
End With
End Sub


Gord Dibben MS Excel MVP

On Thu, 18 Oct 2007 13:54:25 -0000, SV wrote:

Hello,
My friend helped me create a customized header using this VB code, I'm
not sure how to make them font size 12 and bold. Could someone please
help?

Regards,
SV


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
Omit header from first page without embedding header in code ibvalentine Excel Worksheet Functions 6 August 28th 07 05:10 AM
Excel-Header-My Company Name won't work in Header (AT&T) & Time June K Excel Discussion (Misc queries) 2 April 10th 06 08:36 PM
Excel: custom header - is it possible to paste into header? Maureen D. Excel Worksheet Functions 0 November 4th 05 03:07 PM
Sort - Header:=xlGuess vs Header:=xlNo mwc0914[_7_] Excel Programming 1 October 4th 05 05:21 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 09:04 AM.

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"