Thank you for the new code, but I really need to stick with what I started with and figure out why it's not working. This code will be built upon later. For example, I would also like to add a page footer, and eventually I will have to create a loop.
Here are the two lines I'm currently using:
Both are giving me an error. The RightFooter error is "Run-time error '1004': RightFooter method of PageSetup class failed". The PrintArea error is "Run-time error '438': Object doesn't support this property or method". I am not sure how to fix these but everything online that I have found so far looks the same as what I have.
Bookmarks