Short
February 21, 2023, 9:38am
1
Hi all
I’m struggling to convert a PDF document to Word and wondered if anybody could help? I’m sure there was an activity for it a few years ago but looks like it’s gone
So far, I’ve tried copying the file and saving it as a .pdf format but the document doesn’t open due to corruption.
Thanks
Hi @Short
have you tried with this one
Regards
Sudharsan
arivu96
(Arivazhagan A)
February 21, 2023, 9:43am
3
HI @Short ,
As per @Sudharsan_Ka suggestion will work file, pls check another method to convert pdf file refer below link.
Hi @DarDarSara
Try using this
[image]
Dim MyApp As New Microsoft.Office.Interop.Word.Application
MyApp.Visible = False
Dim MyDoc As Microsoft.Office.Interop.Word.Document = MyApp.Documents.Open(InputFile.ToString)
Mydoc.SaveAs(OutputFile.ToString, Microsoft.Office.Interop.Word.WdSaveFormat.wdFormatPDF)
Mydoc.Close(Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges)
MyApp.Quit()
If you have all the word docs in Same folder and the destination filename is same as source filena…
Regards,
Arivu
Short
February 21, 2023, 9:47am
4
I’ve edited the post now sorry, it was meant to say convert a PDF to Word document hahaha I’m so sorry!
arivu96
(Arivazhagan A)
February 21, 2023, 9:51am
5
Hi @Short ,
You can use PDF and Word activities like this
Regards,
Arivu
Short
February 21, 2023, 10:07am
6
Ah I’ve tried that but it only copies the text, I’d want any images and tables copied over too
Have you tried with Read PDF with OCR activity ? @Short
Also check these
Regards
Sudharsan
1 Like
system
(system)
Closed
February 24, 2023, 11:02am
8
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.