PDA

View Full Version : Copy RightFooter, Delete Entire Footer, and Paste to LeftFooter



reynolds0431
08-25-2015, 04:56 PM
Hello. I'm really stuck on coming up with a viable line of code to do the following:

My Word doc has a footer with data in the left, center, and right areas. The right footer area will always have two lines. The first, a five digit number and the second, a date. The document already copies a letterhead, via a form, from a network intranet where multiple different office letterheads are stored via a end-user form. When the end-user uses the form to select their office, the left and right footers need to be deleted, leaving only the two lines of data in the right footer. Also, the right footer would need to be left-aligned.

Is there a way to do this? I was thinking to copy the two right footer lines, deleting the entire footer contents, and then pasting the clipboard.

Thank you in advance for any expertise you could share.

gmayor
08-26-2015, 12:52 AM
See http://www.msofficeforums.com/word-vba/27581-copy-rightfooter-delete-entire-footer-paste-leftfooter.html