Windows vs Mac file export a PDF Below is the code I wrote to produce a PDF file. It prints a specific sheet and not the active sheet.