+ Reply to Thread
Results 1 to 2 of 2

Contents of cell in footer

  1. #1
    dbhenkel
    Guest

    Contents of cell in footer

    I want the contents of a specific cell to be in a footer, can I do this?

  2. #2
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Smile

    Good evening Dbhenkel

    I can't find a way of doing this directly, but there is this VBA alternative.

    Sub cell_footer()
    For Each sht In ActiveWorkbook.Sheets
    sht.PageSetup.LeftFooter = Sheets("Sheet1").Range("A1")
    Next sht
    End Sub

    This will change the left footer in all the worksheets in your workbook to the contents of sheet1, a1. The only catch is that after the cell value has changed this macro needs running before the output is sent to the printer. If this isn't quite what you need post back with your requirements and I'll show you the necessary tweaks that need making to fit what you need.

    HTH

    DominicB

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1