![]() |
cell value in header or footer
is it possible to put the contents/value of a cell in the header?
-- I will Excel at Excel! |
cell value in header or footer
Sub CellInFooter22()
With ActiveSheet.PageSetup .LeftFooter = "&""Algerian,Regular""&16" & Range("A1").Value End With End Sub Gord Dibben MS Excel MVP On Sun, 3 Aug 2008 18:25:01 -0700, Ms_M_o_n_i_c_a wrote: is it possible to put the contents/value of a cell in the header? |
cell value in header or footer
huh? when i copy & pasted, i got exactly what that.
im not that advanced at Excel yet. please make the instructions simplier please -- I will Excel at Excel! "Gord Dibben" wrote: Sub CellInFooter22() With ActiveSheet.PageSetup .LeftFooter = "&""Algerian,Regular""&16" & Range("A1").Value End With End Sub Gord Dibben MS Excel MVP On Sun, 3 Aug 2008 18:25:01 -0700, Ms_M_o_n_i_c_a wrote: is it possible to put the contents/value of a cell in the header? |
cell value in header or footer
What I posted was a macro, not a formula.
If you're not familiar with VBA and macros, see David McRitchie's site for more on "getting started". http://www.mvps.org/dmcritchie/excel/getstarted.htm or Ron de De Bruin's site on where to store macros. http://www.rondebruin.nl/code.htm In the meantime.......... First...create a backup copy of your original workbook. To create a General Module, hit ALT + F11 to open the Visual Basic Editor. Hit CRTL + r to open Project Explorer. Find your workbook/project and select it. Right-click and InsertModule. Paste the code in there. Save the workbook and hit ALT + Q to return to your workbook. Run or edit the macro by going to ToolMacroMacros. You can also assign this macro to a button or a shortcut key combo. Gord On Mon, 4 Aug 2008 12:46:09 -0700, Ms_M_o_n_i_c_a wrote: huh? when i copy & pasted, i got exactly what that. im not that advanced at Excel yet. please make the instructions simplier please |
All times are GMT +1. The time now is 04:18 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com