Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Page Header from a cell in bold
Hi,
I want to print a page header with the value of cell G1. Is it possible to have it in Bold and size 14? Thanks Paul |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Page Header from a cell in bold
Private Sub Workbook_BeforePrint(Cancel As Boolean)
With ActiveSheet.PageSetup .LeftHeader = "&""Arial,Bold""&14 " & _ Activesheet.Range("G1").Value End With End Sub If you don't know about events, see Chip Pearson's page on this http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy Paul wrote in message ... Hi, I want to print a page header with the value of cell G1. Is it possible to have it in Bold and size 14? Thanks Paul |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Page Header from a cell in bold
Thank you very much Tom. It works great
Regards & Good-weekend Paul "Tom Ogilvy" schreef in bericht ... Private Sub Workbook_BeforePrint(Cancel As Boolean) With ActiveSheet.PageSetup .LeftHeader = "&""Arial,Bold""&14 " & _ Activesheet.Range("G1").Value End With End Sub If you don't know about events, see Chip Pearson's page on this http://www.cpearson.com/excel/events.htm -- Regards, Tom Ogilvy Paul wrote in message ... Hi, I want to print a page header with the value of cell G1. Is it possible to have it in Bold and size 14? Thanks Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Link page header with cell contents | Excel Worksheet Functions | |||
How do I make a header row appear at top of each page (not cell#) | Excel Discussion (Misc queries) | |||
Join bold and non-bold text in one cell | Excel Discussion (Misc queries) | |||
How to apply both Italic & Bold in Header & Footer? | Excel Discussion (Misc queries) | |||
Same Cell Header For Every Page | Excel Discussion (Misc queries) |