I am taking the customer records in and creating a new record for each new customer that is added. In order to be able to create this custom record by hand with Excel, I need to extract a customer record that is created in the database that has the information that I need. The code below will extract the data from an Excel document into a CSV and save to PDF Excel VBA Macro to extract a sheet from a tab with data and save to a PDF file in C# Dec 1, 2022 — Excel Macro to Create a PDF out of an active Excel sheet in C#. A.K.A. Get Sheet.xls and create a PDF.