Home |
Search |
Today's Posts |
|
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can logic be added to footer to add a name from a worksheet?
Is it possible to set up a footer in Excel with logic that will add a name
from a cell in one of the worksheets and the word "Confidential"? Thanks in advance, Carl |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can logic be added to footer to add a name from a worksheet?
Sub CellInFooter()
With ActiveSheet .PageSetup.CenterFooter = .Range("A1").Value & "Confidential" End With End Sub Gord Dibben MS Excel MVP On Wed, 17 Oct 2007 12:24:02 -0700, Carl wrote: Is it possible to set up a footer in Excel with logic that will add a name from a cell in one of the worksheets and the word "Confidential"? Thanks in advance, Carl |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can logic be added to footer to add a name from a worksheet?
Thanks. Worked like a charm!
"Gord Dibben" wrote: Sub CellInFooter() With ActiveSheet .PageSetup.CenterFooter = .Range("A1").Value & "Confidential" End With End Sub Gord Dibben MS Excel MVP On Wed, 17 Oct 2007 12:24:02 -0700, Carl wrote: Is it possible to set up a footer in Excel with logic that will add a name from a cell in one of the worksheets and the word "Confidential"? Thanks in advance, Carl |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can logic be added to footer to add a name from a worksheet?
Thanks for the feedback.
Gord On Wed, 17 Oct 2007 14:35:01 -0700, Carl wrote: Thanks. Worked like a charm! "Gord Dibben" wrote: Sub CellInFooter() With ActiveSheet .PageSetup.CenterFooter = .Range("A1").Value & "Confidential" End With End Sub Gord Dibben MS Excel MVP On Wed, 17 Oct 2007 12:24:02 -0700, Carl wrote: Is it possible to set up a footer in Excel with logic that will add a name from a cell in one of the worksheets and the word "Confidential"? Thanks in advance, Carl |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can logic be added to footer to add a name from a worksheet?
Your code worked great but it leaves the font size at default, 10. Would you
mind providing the code to set the font size at 6 please? Thanks again in advance, Carl "Gord Dibben" wrote: Thanks for the feedback. Gord On Wed, 17 Oct 2007 14:35:01 -0700, Carl wrote: Thanks. Worked like a charm! "Gord Dibben" wrote: Sub CellInFooter() With ActiveSheet .PageSetup.CenterFooter = .Range("A1").Value & "Confidential" End With End Sub Gord Dibben MS Excel MVP On Wed, 17 Oct 2007 12:24:02 -0700, Carl wrote: Is it possible to set up a footer in Excel with logic that will add a name from a cell in one of the worksheets and the word "Confidential"? Thanks in advance, Carl |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Can logic be added to footer to add a name from a worksheet?
Sub CellInFooter()
With ActiveSheet .PageSetup.CenterFooter = "&""Arial,Regular""&6" & Range("A1").Value End With End Sub Gord On Fri, 19 Oct 2007 12:44:02 -0700, Carl wrote: Your code worked great but it leaves the font size at default, 10. Would you mind providing the code to set the font size at 6 please? Thanks again in advance, Carl "Gord Dibben" wrote: Thanks for the feedback. Gord On Wed, 17 Oct 2007 14:35:01 -0700, Carl wrote: Thanks. Worked like a charm! "Gord Dibben" wrote: Sub CellInFooter() With ActiveSheet .PageSetup.CenterFooter = .Range("A1").Value & "Confidential" End With End Sub Gord Dibben MS Excel MVP On Wed, 17 Oct 2007 12:24:02 -0700, Carl wrote: Is it possible to set up a footer in Excel with logic that will add a name from a cell in one of the worksheets and the word "Confidential"? Thanks in advance, Carl |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
why is ...xls] being added to the name on my worksheet? | Excel Worksheet Functions | |||
How do you insert a worksheet into a footer? | Excel Discussion (Misc queries) | |||
Worksheet name in footer | Excel Discussion (Misc queries) | |||
Can a creation date be added to a footer | Excel Discussion (Misc queries) | |||
Stop Worksheet being added | New Users to Excel |