How to Convert Excel Tables into PDF and Image File Formats — Pinnacle Software This tutorial is a little outdated, but still helps to create a table for a book. However, this works for any Excel file which can be converted into PDF or PNG. How To Insert Excel Table into PDF and Image File Formats — The PDF Guru This tutorial demonstrates a few techniques for creating PDF and Image files that can be imported into Excel. It can be useful to learn about some more advanced methods which might be more suited for more complex works. Extracting all a Table's data An easy way to get all a table's data is to use the Table Function. This function will give you a “table set” which contains all fields associated with each row of each table. The table set will then be inserted into the original document (or image file) with the Table function as a parent. To save time try one of these simple code samples: # Insert a new Excel table into the current document sheets = workbook. Worksheets. Item(1) sheet_name = Get-Workbook workbook. SaveChanges(“F:\Scripts\Test Spreadsheet”) worksheet = new-object “application/XHTML” sheet_name = worksheet. Name # Get all the data in the first workbook's workbook worksheet.range.cells. Item(_) | % {cells = cells | % {row → _[0] col → _[1]} for each (row in cells) {Write-Object row} Write-Object sheet_name} else {Write-Warning sheet_name} } How to use the Table function: In this sample, we're using the Table function to get the first line of the column headers. As we have a few different kinds of spreadsheet, it's not always obvious which form we're using. To determine which spreadsheet code to use, check the type of your worksheet. Using the Table function, we get a function object that you can play with.