I am working on setting up a footer that can't be changed. The code I used is
(Courtesy of a previous thread)
This works perfectly for all my tabs except the Chart that is created by a macro. When I test the above code for that tab by using print preview, I get "Run-time error '1004': Unable to set the LeftFooter property of the PageSetup class"
The chart is made using the following code
Doing some investigating, the cause of the error is supposed to be not having a default printer set-up. I am stuck because I do have a default printer set-up; more confusing for me is that the first code works on every single tab in the workbook EXCEPT the chart. The chart has the same level of protection set as several of the other tabs also; the larger macro handles the protection for the sheets.
Any thoughts on what is triggering the error or what else to check would be greatly appreciated. Thank you.
Bookmarks