I have written a report in access VBA, i.e. actually coding the header, detail and footer sections. The report needs to be printed in landscape and on legal size paper. I also need to code the page set for the margins. Since the report cannot be done in the design view and has to be coded, I need to code the page setup.