![]() |
How to have cell data display in header
I am designing an excel form. I would like to pull the "applicant name" data
from a cell and have it inserted into the header. I have looked through all help, training, etc and cannot figure out how to do this. I bet it can be done. Any help would be greatly appreciated. Thanks much |
How to have cell data display in header
You must use VBA.
Sub CellInHeader() With ActiveSheet .PageSetup.CenterHeader = .Range("A1").text End With End Sub If not familiar with VBA and macros, see David McRitchie's site for more on "getting started". http://www.mvps.org/dmcritchie/excel/getstarted.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 the macro by going to ToolMacroMacros. You can also assign this macro to a button or a shortcut key combo. Gord Dibben MS Excel MVP On Mon, 2 Oct 2006 09:36:02 -0700, excel novice <excel wrote: I am designing an excel form. I would like to pull the "applicant name" data from a cell and have it inserted into the header. I have looked through all help, training, etc and cannot figure out how to do this. I bet it can be done. Any help would be greatly appreciated. Thanks much |
All times are GMT +1. The time now is 02:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com