Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Printing the contents on a named range in the Header of an Excel s
Something like this using VBA Code: -------------------- With ActiveSheet.PageSetup .LeftHeader = Sheet1.Range("A1").Value .CenterHeader = Sheet1.Range("A5").Value .RightHeader = Sheet1.Range("A10").Value End With -------------------- Substitute the range with your named range -- royUK Hope that helps, RoyUK For tips & examples visit my 'web site' (http://www.excel-it.com/) ------------------------------------------------------------------------ royUK's Profile: http://www.thecodecage.com/forumz/member.php?userid=15 View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=38816 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Named Range in Customer Header | Excel Discussion (Misc queries) | |||
Can you write the contents of an Excel Named Range to Word? | Excel Programming | |||
ActiveSheet header including a named range | Excel Programming | |||
Using a named range in a header with VBA? | Excel Discussion (Misc queries) | |||
Named Range in Center Header | Excel Programming |