Never lose hope!!!..

The below code we can use for single file. I hope this will help you to
make subject easier.

---------------------------------------------------------------------------------------------------------

Option Explicit

Sub copy_PDF2Excel()

Dim AdobeApp As String
Dim PDFFile As String
Dim StartAdobe

'Adobe Acrobat reader location
AdobeApp = "C:\Program Files\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe"

'file location
PDFFile = "C:\Users\PJ\Desktop\Data.pdf"

StartAdobe = Shell("" & AdobeApp & " " & PDFFile & "", 1)

Application.OnTime Now + TimeValue("00:00:05"), "OpenPDF"

End Sub


Private Sub OpenPDF()

SendKeys ("^a")
SendKeys ("^c")
SendKeys ("%fx")

Application.OnTime Now + TimeValue("00:00:10"), "MyExcel"

End Sub

Private Sub MyExcel()

AppActivate "Microsoft Excel"
ThisWorkbook.Activate
Sheets(1).Activate
Range("A1").Activate
SendKeys ("^v")
End Sub

---------------------------------------------------------------------------------------------------------


*Cheers!!!*

*Pankaj Sharma*
*9716375462*


On Fri, May 8, 2015 at 6:44 PM, Pankaj Sharma <pankaj123...@gmail.com>
wrote:

> Please find attached file.
>
>
>
> On Fri, May 8, 2015 at 5:27 PM, Vabz <v...@vabs.in> wrote:
>
>> can you share PDF file, if it is text only then same can be imported..
>>
>> On Thursday, May 7, 2015 at 7:42:59 PM UTC+5:30, Pankaj Sharma wrote:
>>>
>>> Hi everyone,
>>>
>>> Need your help for this easy. I have a folder with multi PDF files. I
>>> need a macro to copy all pdf data in a workbook.
>>>
>>> Note: One pdf data should be copy in one sheet.
>>>
>>>  --
>> Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s
>> =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @
>> https://www.facebook.com/discussexcel
>>
>> FORUM RULES
>>
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
>> will not get quick attention or may not be answered.
>> 2) Don't post a question in the thread of another member.
>> 3) Don't post questions regarding breaking or bypassing any security
>> measure.
>> 4) Acknowledge the responses you receive, good or bad.
>> 5) Jobs posting is not allowed.
>> 6) Sharing copyrighted material and their links is not allowed.
>>
>> NOTE : Don't ever post confidential data in a workbook. Forum owners and
>> members are not responsible for any loss.
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "MS EXCEL AND VBA MACROS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to excel-macros+unsubscr...@googlegroups.com.
>> To post to this group, send email to excel-macros@googlegroups.com.
>> Visit this group at http://groups.google.com/group/excel-macros.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/d/optout.

Reply via email to