Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Is there a way to have the text in a cell be linked so that it appears in the header? Then if the text in the cell is changed, the header changes accordingly? -- Beeblebrox ------------------------------------------------------------------------ Beeblebrox's Profile: http://www.excelforum.com/member.php...o&userid=37348 View this thread: http://www.excelforum.com/showthread...hreadid=571825 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Lets say we want to use the content of cell Z100 in the center header:
Create a BeforePrint event macro containing the following line: ActiveSheet.PageSetup.CenterHeader = Range("Z100").Value -- Gary''s Student "Beeblebrox" wrote: Is there a way to have the text in a cell be linked so that it appears in the header? Then if the text in the cell is changed, the header changes accordingly? -- Beeblebrox ------------------------------------------------------------------------ Beeblebrox's Profile: http://www.excelforum.com/member.php...o&userid=37348 View this thread: http://www.excelforum.com/showthread...hreadid=571825 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Do you mean a worksheets header? If so, no.
You could use the beforeprint event to place the desired information in the header. http://www.cpearson.com/excel/events.htm for an overview of events. -- Regards, Tom Ogilvy "Beeblebrox" wrote: Is there a way to have the text in a cell be linked so that it appears in the header? Then if the text in the cell is changed, the header changes accordingly? -- Beeblebrox ------------------------------------------------------------------------ Beeblebrox's Profile: http://www.excelforum.com/member.php...o&userid=37348 View this thread: http://www.excelforum.com/showthread...hreadid=571825 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I already had a print macro that hid some columns and set a print area. So just before the code setting the print area I used the following and it works. With ActiveSheet.PageSetup CenterHeader = Range("N3").Value RightHeader = Range("N5").Value End With -- Beeblebrox ------------------------------------------------------------------------ Beeblebrox's Profile: http://www.excelforum.com/member.php...o&userid=37348 View this thread: http://www.excelforum.com/showthread...hreadid=571825 |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This macro works, however I cannot get my header to process the format,
to bold the header. "&B" is not working into the macro. Any suggestions? Thanks. Beeblebrox wrote: I already had a print macro that hid some columns and set a print area. So just before the code setting the print area I used the following and it works. With ActiveSheet.PageSetup CenterHeader = Range("N3").Value RightHeader = Range("N5").Value End With -- Beeblebrox ------------------------------------------------------------------------ Beeblebrox's Profile: http://www.excelforum.com/member.php...o&userid=37348 View this thread: http://www.excelforum.com/showthread...hreadid=571825 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Custom Header - poss to link to contents of cell? | Excel Discussion (Misc queries) | |||
Link page header with cell contents | Excel Worksheet Functions | |||
How do I insert a link to a cell in a header in Excel? | Excel Discussion (Misc queries) | |||
Want link my header to a cell value | Excel Discussion (Misc queries) | |||
Can you link a custom property to an Excel custom header text? | Setting up and Configuration of Excel |