Consulting

Results 1 to 2 of 2

Thread: Add text to a pdf

  1. #1

    Add text to a pdf

    Hi

    I have a pdf which is generated by others. In it are details for a sports club team. I have a registration number held in an access database which I need to apply to each member of the team but the trouble is that every time the pdf is produced it seems to randomly place the members of the team.

    I'm trying to figure a way to find the players name in the pdf and then add the registration number at an x and y position offset to that name. The document will then be printed (probably to a new DPF)

    While I have done VBA on several projects I have no idea where to start or if its even possible with this one..

    Thanks in advance

  2. #2
    VBAX Mentor
    Joined
    Nov 2022
    Location
    The Great Land
    Posts
    371
    Location
    I have manually edited text in OCR-enabled PDF and it can be frustrating because often the text is not well-structured. I can imagine accomplishing with VBA would be very difficult. To even start, would likely need Adobe Acrobat Pro installed.

    Have you done any web search on topic? Start with https://www.access-programmers.co.uk...-a-pdf.316318/
    How to attach file: Reading and Posting Messages (vbaexpress.com), click Go Advanced below post edit window. To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Tags for this Thread

Posting Permissions

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