Sep 17, 2018

Custom Footer From Cell

I would like to create a custom left footer using info in a cell...
Using Cell C1 on each individual sheet.
I do not want a macro that I have to run myself, but code that will update every time I go to print it.

You may find it helpful to sometime place the contents of a cell into the footer of a worksheet, and to have the footer updated every time the contents of the cell changed. The easiest way to do this is with a macro. The following is an example of a macro that will place the contents of cell A1 into the left side of the footer:

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)
    ActiveSheet.PageSetup.LeftFooter = Range("A1").Text
End Sub
The macro is run every time Excel does its normal recalculation—meaning every time the contents of any cell changes or someone presses F9. If you want the contents to be in a different part of the footer, you can change LeftFooter to CenterFooter, or RightFooter.

To apply any formatting to the footer other than the default you will need to add special formatting codes, and you can also use special data codes that Excel recognizes for headers and footers. Both the special formatting and special data codes are quite lengthy and have been covered in other issues of ExcelTips.

If you are working with a very large worksheet, then changing the footer every time Excel recalculates may unnecessarily slow down your computer. After all, the footer remains invisible to the user until such time as the worksheet is actually printed. In this case, you simply need to rename the above macro to some other name that you would then manually execute as the last step before printing a worksheet.


If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (8965) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel here: Putting Cell Contents in Footers.

How To Open A JPG Picture On IPad

Cannot open IMG-7248-JPG picture on IPad.

can't open jpeg attachment on iPad or iPhone, only on desktop,computer. Is there a setting a need to change?

If images are not being displayed when you view your emails with your iPhone, try the following tips to resolve the issue:
Try exiting out of the message and going back to your inbox. Then tap the message one more time to see if it loads properly.
The application to view email does place a limit on the amount of content it will download initially. If the email is too large, scroll to the bottom of the message and look for a button labeled "Download Full Message" or something similar to that. Select the button to let the message download completely. The images should now appear.
*Note: To modify the settings on your iPhone to allow images:
Open the settings app.
Select "Mail, Contacts, Calendars."
Set the "Load Remote Images" to ON.