I have the following code that works perfectly until I try to set the page setup options that are colored in red. As soon as I delete those from the code it works flawlessly but the format is not what I want.
I want to print the selected range to PDF and have it formatted as landscape and to...