copy footer without copying page setup

J

jen_writer

Hello,
I have a workbook with many worksheets. The worksheets have different page
layouts/setups. However, I need the same footer on all sheets. When I "select
all sheets" and add a footer, the page setup copies throughout also. Is there
a way to copy the footer without changing the page setup and without having
to open every single footer to copy/paste?

thanks
Jen
 
D

Don Guillett

Sub setfooter()
For Each ws In Worksheets
ws.PageSetup.LeftFooter = "SalesAidSoftware"
Next
End Sub
 
G

Gary''s Student

Try this small macro:

Sub commonfoot()
For Each s In Worksheets
s.Activate
ActiveSheet.PageSetup.CenterFooter = "jen"
Next
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top