Excel footer to a cell

InfoCntr9000

New Member
Joined
Oct 19, 2009
Messages
3
Unfortunately I’m not a VBA guy, however, I need a way to extract/read the footer information in Excel and copy it into a cell. I’ve seen code to take information from a cell and write to the footer, but is there a way to do the reverse?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:eek:ffice:eek:ffice" /><o:p></o:p>
Thanks,<o:p></o:p>
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Try this: (Change "D1" as needed for the destination cell)
Sub ReadFooter()
ft = ActiveSheet.PageSetup.LeftFooter
ft = ft & ActiveSheet.PageSetup.CenterFooter
ft = ft & ActiveSheet.PageSetup.RightFooter
ActiveSheet.Range("D1") = ft
End Sub

If you are sure you want info only from left or right footer, delete other lines.
 
Upvote 0
Thanks for the quick response. I'll give it a whril. As I mentioned I'm not much at VB... kinda a mainframe type of guy, but I'll get there!

Thanks again I'll let you know what happens.
 
Upvote 0

Forum statistics

Threads
1,215,339
Messages
6,124,375
Members
449,155
Latest member
ravioli44

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top