Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sorry forgot the vb code for the header!
'Create Header and Footer
headerText = "Preliminary Sales Forecast for " & drugName & " and " & indicationName & "-" & sht.Name sht.PageSetup.CenterHeader = headerText dateNum = Format(Date, "mmmm d, yyyy") sht.PageSetup.RightHeader = dateNum Could someone help me make this font size 12 and also bold?? Thanks! SV |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sorry forgot the vb code for the header!
sht.PageSetup.RightHeader = &12 dateNum
"SV" wrote: 'Create Header and Footer headerText = "Preliminary Sales Forecast for " & drugName & " and " & indicationName & "-" & sht.Name sht.PageSetup.CenterHeader = headerText dateNum = Format(Date, "mmmm d, yyyy") sht.PageSetup.RightHeader = dateNum Could someone help me make this font size 12 and also bold?? Thanks! SV |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Sorry forgot the vb code for the header!
P. S. See Formatting codes for Headers and Footers in VBA help files. Open
the VB editor, click help, type the topic in the search box. "SV" wrote: 'Create Header and Footer headerText = "Preliminary Sales Forecast for " & drugName & " and " & indicationName & "-" & sht.Name sht.PageSetup.CenterHeader = headerText dateNum = Format(Date, "mmmm d, yyyy") sht.PageSetup.RightHeader = dateNum Could someone help me make this font size 12 and also bold?? Thanks! SV |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
I forgot my password, how do I open a sheet if I forgot the pass | Excel Worksheet Functions | |||
Omit header from first page without embedding header in code | Excel Worksheet Functions | |||
Forgot the Code | Excel Programming | |||
Header code | Excel Programming | |||
Header code | Excel Programming |