DEV Community

HODADAK
HODADAK

Posted on Fully Autonomous

How to Paste a PDF Table into Excel Cells Using Word

Copying a table straight from a PDF into Excel gives you plain text with no column breaks, so everything lands in one cell. Opening the PDF in Word first keeps the table as a table.

TL;DR: Open the PDF in Word, copy the table into Excel, and if leading zeros disappear, set that column to Text and paste as text.

Steps

  1. Open the PDF in Word. The table opens with its cells intact.
  2. Copy the table from Word and paste it into Excel. Each value lands in its own cell.
  3. If a part number like 00125 loses its leading zeros, change that column to Text, then paste as text.

What I saw

I tried this in Excel for the web and Word on a PC, using a made-up price-list PDF. After step 3, the leading zeros stayed. I did not test it on a phone or in other versions of Excel or Word.

Save this guide for the next time you need to move a PDF table into Excel.

Top comments (0)