Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I want to use cell values in my header AND I want to be able to format
them too. This is what I know to do so far: ActiveSheet.PageSetup.RightHeader = _ Format(Worksheets("Sheet1").Range("A1").Value) I know you can format text using ampersands and quotation marks, but you actually have to type out the text. How do you handle formatting when Range().Value is involved? There must be a way to do this even though the Microsoft Knowledge base doesnt address the fact that you might want to do both. Any ideas? Is it possible to pre-format the Header before you introduce any values or text? --- Message posted from http://www.ExcelForum.com/ |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just concatenate your print header formats and your cell text:
ActiveSheet.PageSetup.RightHeader = _ "&08&b" & Worksheets("Sheet1").Range("A1").Text In article , anae wrote: I want to use cell values in my header AND I want to be able to format them too. This is what I know to do so far: ActiveSheet.PageSetup.RightHeader = _ Format(Worksheets("Sheet1").Range("A1").Value) I know you can format text using ampersands and quotation marks, but you actually have to type out the text. How do you handle formatting when Range().Value is involved? There must be a way to do this even though the Microsoft Knowledge base doesnt address the fact that you might want to do both. Any ideas? Is it possible to pre-format the Header before you introduce any values or text? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can you provide some more details on this one?? perhaps a simple
formated header example? --- Message posted from http://www.ExcelForum.com/ |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I did in my post. Did you have a particular question?
In article , ravz wrote: Can you provide some more details on this one?? perhaps a simple formated header example? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do i change column header from R[1] C format to A1 format? | Excel Discussion (Misc queries) | |||
get a range corresponding to a particular col header | Excel Worksheet Functions | |||
use a range for a print header | Excel Discussion (Misc queries) | |||
Exclude Header from Range? | Excel Discussion (Misc queries) | |||
Using a named range in a header with VBA? | Excel Discussion (Misc queries) |