Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / January 2008

Tip: Looking for answers? Try searching our database.

Can I use Merge Fields in Excel Headings?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeanette - 29 Jan 2008 20:40 GMT
I would like to use an actual cell item in a heading.  Is this possible?  So
far all I get is the actual formula.
Matt Richardson - 30 Jan 2008 12:56 GMT
On Jan 29, 8:40 pm, Jeanette <Jeane...@discussions.microsoft.com>
wrote:
> I would like to use an actual cell item in a heading.  Is this possible?  So
> far all I get is the actual formula.

Try this link, which explains how to do it using VBA code:-

http://www.cpearson.com/excel/headfoot.htm

HTH
Matt Richardson
http://teachr.blogspot.com
Gord Dibben - 30 Jan 2008 19:29 GMT
Jeanette

Take your pick from these macros or combine parts of each into one.

Sub CellInFooter()
   With ActiveSheet
       .PageSetup.CenterFooter = .Range("A1")
   End With
End Sub

Sub Cell_In_AllFooters()
Dim ws As Worksheet
   For Each ws In ActiveWorkbook.Sheets
      ws.PageSetup.CenterFooter = ws.Range("A1")
   Next
End Sub

Sub CellInFooter22()
   With ActiveSheet.PageSetup
       .LeftFooter = "&""Algerian,Regular""&16" & Range("A1")
   End With
End Sub

Gord Dibben  MS Excel MVP

>I would like to use an actual cell item in a heading.  Is this possible?  So
>far all I get is the actual formula.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.