Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

PDF Printing Excel Page Clipping

Last updated on 28 September 2023

Admin
PDF Conversion

Overview

The purpose of this article is to resolve issues where PDF files are not showing as expected when converted from Excel in M-Files.

This affects M-Files versions 2015 and later.

Converting an Excel file to PDF using M-Files will produce misplaced or orphaned pages in the PDF.

Example

If you have an Excel file with 3 pages, then try to convert the same into PDF either through a workflow or manually inside M-Files. Sometimes you may have missing items from a page (e.g.: images) and you may also have a part of one page being present in another because of the conversion.

image.png

Converting to a PDF file is essentially printing the document. If an Excel file has a print area defined, that may or may not fit the paper size in the PDF printer causing odd page placement.

Solution

Removing the print area setup from the Excel file by:

  1. Go to the Page Layout ribbon.
  2. Select Print Area.
  3. Clear the Print Area. Save changes.

image.png

You may need to set margins and paper size, as well as the orientation to match PDF conversion settings.

image.png

In some cases, a rectangle box drawn on top of a picture in Excel may have some letters that are not being shown upon conversion. Resize that text box to make the whole sentence. See screenshots below:

image.pngimage.png

Still need help?

On this page