compile error" user-defined type not defined"

Hasson

Active Member
Joined
Apr 8, 2021
Messages
387
Office Version
  1. 2016
Platform
  1. Windows
hi
I downloaded the file from this web VBA Express : Excel - get the data from PDF file into Excel sheet(s) or text file(s) to import data from file pdf to file excel , but suddenly it shows compile error" user-defined type not defined" in this line from the part of code
VBA Code:
Dim AC_PD As Acrobat.AcroPDDoc
I think it should select tool from the refernce but I no know what it's . I tried with many tools are relating adobe Acroba but nothing succeed so far .
any body guide me please ?
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Do you have Adobe Acrobat installed on your system? If not, this won't work. (Not Acrobat Reader but Acrobat)
 
Upvote 0
Acrobat Reader is a very limited Free version of Acrobat (it actually is a very small component of the proper version) designed to carry out the very simplest tasks i.e. viewing (i.e. reading), printing, signing, annotating and searching. It can't do much else.
You need the proper version of Acrobat installed on your computer as per the instructions on the page
 
Upvote 0
Solution
Acrobat Reader cannot create PDF files. You need the library for Acrobat, which can create PDF files.
 
Upvote 0
thanks guys. after many tries . you're absolutely right ;)
 
Upvote 0

Forum statistics

Threads
1,214,537
Messages
6,120,096
Members
448,944
Latest member
SarahSomethingExcel100

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top