Question: how to create a pdf macro in excel?
Answer: Export Active Sheet as PDF File The following macro code will export the active sheet (or sheets) in PDF format. Copy the code to a regular code module, then select the sheet(s) you want to export, and run the macro. See the section further down, for details on how the macro works.