Consulting

Results 1 to 6 of 6

Thread: Help needed in VBA

  1. #1
    VBAX Newbie
    Joined
    Oct 2024
    Posts
    2
    Location

    Question Help needed in VBA

    Hello guys,
    I'm a bginner in VBA.
    My Q is how can I use macro to get data from PDF files and put them in excel?

  2. #2
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,259
    Location
    If you are using Office 365, you can do this with Excel's built in tool.

    Go to the Data Tab, Select Get Data/From File/From PDF. This will allow you to import data from a selected file
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

  3. #3
    VBAX Newbie
    Joined
    Oct 2024
    Posts
    2
    Location
    Thank you Aussiebear but what about if I want only a certain data no the whole pdf.

  4. #4
    VBAX Master Aflatoon's Avatar
    Joined
    Sep 2009
    Location
    UK
    Posts
    1,783
    Location
    You don't have to import all the data.
    Be as you wish to seem

  5. #5
    VBAX Newbie
    Joined
    Oct 2024
    Posts
    4
    Location
    if it's a structured recurring data of pdf files, you can import it into excel, then record a macro of you cleaning the data set as you want
    then after that each pdf file you can run the macro again and it will be in the similar format you want it

  6. #6
    Moderator VBAX Wizard Aussiebear's Avatar
    Joined
    Dec 2005
    Location
    Queensland
    Posts
    5,259
    Location
    Quote Originally Posted by jecali View Post
    if it's a structured recurring data of pdf files, you can import it into excel, then record a macro of you cleaning the data set as you want
    then after that each pdf file you can run the macro again and it will be in the similar format you want it
    Why re-invent the wheel? Excel already provides the necessary tools to do this.
    Remember To Do the Following....
    Use [Code].... [/Code] tags when posting code to the thread.
    Mark your thread as Solved if satisfied by using the Thread Tools options.
    If posting the same issue to another forum please show the link

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •