+ Reply to Thread
Results 1 to 2 of 2

Run a Slide Show with data from Excel

  1. #1
    Forum Contributor
    Join Date
    07-01-2017
    Location
    Las Vegas, NV
    MS-Off Ver
    Office 2013
    Posts
    148

    Run a Slide Show with data from Excel

    Hello All, not sure if this is possible or how to set it up.

    I have a spreadsheet with data including:
    Image Name (title of the jpeg file)
    Subject Name (Name of the person in the picture)
    Caption (caption for the photo)
    Location (where the photo is saved on the computer)

    I have a PowerPoint presentation with a picture titled "Photo" and 3 shapes titled "Image Name", "Subject Name" & "Caption"

    I would like to have a macro that I can run that will change the "Photo" picture to a photo from my spreadsheet and change the text of the shapes to the appropriate image name, subject name and caption. I would like the photo to change every 30 seconds.

    I have attached a copy of my spreadsheet, but when I tried to attach the Power Point slideshow it said invalid file. Sorry.

    Any help would be very appreciated.
    Attached Files Attached Files

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,398

    Re: Run a Slide Show with data from Excel

    Untested here :

    Please Login or Register  to view this content.
    To Run the Macro:

    Save your PowerPoint file as a macro-enabled presentation (.pptm).
    Press Alt + F8, select CycleThroughImages, and click Run.
    Ensure the PowerPoint presentation remains open during the execution.

    Notes:

    Replace "C:\Path\To\Your\Spreadsheet.xlsx" with the full path to your Excel file.
    The macro assumes your spreadsheet has a header row, and data starts in row 2.
    Ensure the shape names in PowerPoint match exactly ("Photo", "Image Name", etc.).
    If you need the process to run indefinitely, modify the loop to restart after the last row.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Show specific PowerPoint slide from Excel (based on header text)
    By NewBee_HS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2022, 09:32 AM
  2. PowerPoint live update excel data during slide show
    By Tyger0951 in forum PowerPoint Formatting & General
    Replies: 8
    Last Post: 10-15-2019, 10:38 AM
  3. Replies: 0
    Last Post: 07-18-2019, 07:43 AM
  4. PowerPoint live update excel data during slide show
    By Tyger0951 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-31-2014, 02:51 AM
  5. Replies: 1
    Last Post: 04-02-2012, 03:57 PM
  6. Slide show with update of data once a day
    By Chil24 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2010, 01:18 PM
  7. Select active slide by slide number in existing ppt through excel vba
    By amid in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-09-2009, 03:59 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1