Results 1 to 4 of 4
  1. #1
    Jeff Lance is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2021
    Posts
    8

    Export a Picture from an Access Form to PowerPoint

    I am using the Store image path in the text field and to show the image to display a picture on an Access form.

    I want to export that picture to a PowerPoint slide.

    The image place holder in the form is Image31.

    I have created a place holder shape box in the PowerPoint that is Item10.

    In the code that I have created so far to transfer text to the PowerPoint I have used the Item# as the PowerPoint insert location.

    dose anyone know how to export the image?

    Windows 10
    Office 365

    Jeff


  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    If you are only storing file path and images are stored in a folder, not Attachment field, there is no export. If you want Access to insert image into PowerPoint, that requires PowerPoint automation code. Have you attempted such code? Review http://etutorials.org/Microsoft+Prod...m+Access+Data/
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Jeff Lance is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2021
    Posts
    8
    Thank you for the info, that is what I was afraid of, Trying to keep the overhead of the DB as low as possible of course so that is why I used that image method but was pretty sure that the image would have to be in the DB and not just a reference to the location.
    unfortunately access and powerpoint are two MS products that were not designed to integrate very well from everything I have read and found.
    I read through the article some good info.

    The powerpoint has to be from a templet that we use.
    I have resolved the issue of pushing the information from the DB to the PPT.
    I get a record count from the Tbl.
    I have the VBA open a PPT templet
    Run a loop to duplicate the templet slide for the number of records.
    Then it runs a loop to push the text into shape blocks on the PPT. (Used shapes instead of Text to provide better size and location stability. I altered the text properties on the PPT to resize to fit shape.

    The DB is on a platform that I can’t just post the code, but I am going to try to get the code accessible to be able to post it to help others that are trying to accomplish the same task.
    It been a lot of pick and poke to find the right code to accomplish the task.

    Jeff

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    I didn't find specific code, but think should be able to load image into PP shape feature as well. Good luck with your project.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 19
    Last Post: 05-23-2020, 05:07 PM
  2. Replies: 3
    Last Post: 08-01-2017, 12:59 PM
  3. Access Form to Powerpoint
    By Thompyt in forum Import/Export Data
    Replies: 3
    Last Post: 12-19-2014, 08:03 PM
  4. Export Query/Table to PowerPoint Graph
    By BED in forum Import/Export Data
    Replies: 0
    Last Post: 03-10-2011, 12:27 PM
  5. Pivot table graph form export to powerpoint
    By maati1980 in forum Forms
    Replies: 0
    Last Post: 10-22-2009, 02:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums