Convert Excel to PDF in SharePoint

In this guide you'll get step-by-step instructions on how to convert a Microsoft Excel document into a PDF at the click of a button using the SharePoint UI (user interface). We also cover how you can convert a folder of Excel documents or an entire document library to PDF in SharePoint. This guide can be used in SharePoint Online or On-premises deployments.

Converting a Single Excel File in SharePoint

To convert a single MS Excel file to PDF, perform the following steps:

  1. Navigate to the Document Library and folder where the MS Excel file is located.

  2. Select the file that you want to convert.

  3. Open the context menu and select Convert to PDF.

convert to pdf

  1. Conversion Settings Page is displayed. You can review the settings and click Convert.

    conversion settings page

    UI Element

    Description

    Source Files

    This field displays the MS Excel file selected for PDF conversion.

    Destination Files

    This field displays the filename that will be displayed for the converted PDF file.

    You can also select a different folder to save the PDF by clicking Browse and selecting the appropriate folder.

    If you select Remember this Path, this will become the default path for future conversions, which can also be changed if needed.

    Settings

    If you select Include SharePoint metadata, this will automatically include all the meta data available in the source file.

  2. Conversion results Page is displayed. You can review the results in this page to check if the conversion has been successful and without any errors.

results page

  1. Click Destination Library to navigate to the converted PDF file’s directory.

    Note: When using the PDF Converter with MS SharePoint 2010 (or later), you can also convert the file by selecting it and choosing Convert to PDF in the Ribbon.

Downloading a Single PDF File

If Muhimbi.PDFConverter.ConvertAndDownload.Site Feature is enabled in a site collection, then the Download as PDF option is also added to both the SharePoint Ribbon and the file Context Menu.

Download as PDF works very similar to the Convert to PDF option, except that it opens/downloads the PDF file on a local machine rather than saving it to MS SharePoint.

Converting an Entire Folder Containing MS Excel Files

You can convert an entire folder containing MS Excel files to PDF by performing the following steps:

  1. Navigate to the Document Library that contains the folder to convert. The contents of the folder we have used in this example has been given in the below screenshot.

    document library

  2. Open the context menu and select Convert to PDF.

    convert to pdf menu

  3. Conversion Settings Page is displayed. You can review the settings and click Convert.

    conversion settings

    UI Element

    Description

    Source Files

    This field displays the folder containing MS Excel files selected for PDF conversion.

    If there are subfolders inside this selected folder, select Include sub folders.

    Note: The time taken for the conversion might be significantly higher if there are many MS Excel files to convert.

    Merge Files

    If you want to merge all the MS Excel files in the selected folder to a single file, select Merge files.

    When you select this option, you will be given further options to select the files that you want to merge, and also select the merge order for the same from this folder.

    You can also select the field that can be used for PDF bookmark.

    Destination Files

    This field displays the folder name that will be displayed for the folder that will contain the converted PDF files.

    You can also select a different folder in which the converted PDF file(s) needs to be saved by clicking Browse and selecting the appropriate folder.

    If you select Remember this Path, it will become the default path for future conversions, which can also be changed if needed.

    Settings

    If you select Include SharePoint metadata, it will automatically include all the meta data available in the source file(s).

  4. Conversion results Page is displayed. You can review the results in this page to check if the conversion of the MS Excel files have been successful and without any errors.

result page

  1. Click Destination Library to navigate to the directory containing the converted PDF file(s).

    Note: When using the PDF Converter with MS SharePoint 2010 (or later), you can convert the file by selecting it and selecting Convert to PDF in the Ribbon. The Download as PDF feature does not work for folders.

Converting an Entire Document Library Containing MS Excel Files

This section is only valid for MS SharePoint 2007.

Although it is possible to convert an entire document library (MS SharePoint 2007) in one go, it may take a long time to complete, or even time out, if the library contains many MS Excel files. You will automatically receive a warning if many files are in the library.

You can convert an entire Document Library containing MS Excel files to PDF by performing the following steps:

  1. Navigate to the root folder of the document library to convert.

  2. Select Convert to PDF from the Actions menu.

    Note: This option is only available in MS SharePoint 2007.

    convert to pdf

  3. Specify if you want to convert subfolders as well.

  4. Review all the other settings and click Convert button to start the conversion process.

  5. Verify the MS Excel files have been converted without errors.

  6. Click Destination Library to navigate to the directory containing the converted PDF files.

    Note: If you are using MS SharePoint 2010 or above, select all files and use the Convert to PDF option in the Ribbon instead, as this option is only available in MS SharePoint 2007.

Saving the Converted File(s) to a Different Location

By default, PDF files are saved to the same folder in which the source files are located. However, as discussed above, it is possible to specify a different folder, document library, site, or even a different site collection to save the converted PDF files.

To specify a different folder, open the PDF Conversion screen and select the destination folder. When the site is hosted on a SharePoint server rather than the free Foundation server, a user-friendly Browse button is available, allowing folders or sites to be selected within the current site collection.

browse destination folder
Browse for a destination folder (Commercial versions of SharePoint only)

If the Browse button is not available or the destination folder is located in a different site collection, then you will need to enter the destination path manually. The format is as follows:

  1. A folder in the current site collection: Document Library Name/Folder path.
    E.g. – Shared Documents/PDF Files

  2. A folder in the different site collection: Absolute path to Site Collection/Document Library Name/Folder path.
    E.g. – /sites/Press Office/Shared Documents/PDF Files

Note: An absolute path always starts with ‘/’, without ‘http://’ and the domain name.

If the files are always written to the same directory, then you can select Remember this path to automatically default to the custom path last used.

Note: These settings are remembered per user and stored at the Site collection level.

Unchecking Remember this path checkbox will automatically forget the settings for future conversions.

Note: Document Sets can be used as a source as well as a destination for PDF Conversion. They work exactly the same as folders.

Working with Conversion Results Screen

The Conversion Results screen contains functionality to simplify managing a large number of converted documents.

The following features are available:

  1. Filter by column: Click the column's header to filter on and select the value to filter for. For example, select 'Error' in the 'Status' column to generate an overview of all files that caused an error during the conversion process.

  2. Sort by column: Click the header of a column to sort its contents either in ascending or descending order. For example, click the 'Source Path' column to group all documents by folder.

    sort by column

  3. Jump to the destination folder: Click Destination Library button to navigate to the folder to which the PDF files were written. This is particularly useful when a different destination folder has been specified during the conversion process.

  4. Page through results: A pager is automatically displayed when you convert more than 100 files.

Have a Question?
We’re Always Happy to Help.

© Muhimbi Ltd. 2008 - 2024
This website uses cookies to ensure you get the best experience. Learn more