How to write table from pdf to excel

Hi guys,

Im trying to write this table from a pdf into csv (comma delimited) but it breaks the values into columns.

I also tried to append text into word (preserved format) but the table structure is not captured.

My end goal is to copy this table from PDF into Excel with structured format.

HI @sophiey

Checkout this threads

Regards
Sudharsan

Any tips to keep the values in one column?

@sophiey

Read the data into datatable and proceed as below

  1. Add a new column screening atatus
  2. Inside assign use `dt.Columns(“screening status”).Expression = “[screening]+ “’ ‘” + [status]”
  3. Then you can delete the old columns and these two columns would be joined

Hope this helps

Cheers

thanks for the info. just found out that there will be null values inside the datatable hence the merging might not helped from the original csv file.

Now i’m looking at to use Start Process open the pdf file and save as docx (table format is preserved this way).

how can i automate “save pdf as docx” ?

@sophiey

The same way you explained…use sstart process try opening pdf in word and then it gives a prompt mostly try to handle the prompt using prallel
Activity to click on the prompt and then save it

Cheers

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.