Results 1 to 19 of 19

Thread: Simple Macro to import slides from a file

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #18
    VBAX Master
    Joined
    Feb 2007
    Posts
    2,096
    Location
    It might seem wrong that strFileName is only the name NOT the path but that is how Dir works and it should insert the slide OK.

    When you said it only worked the first time what did you mean. It should create a new file every time it runs as it is written and add only the first slide from each presentation in the folder. Maybe you wanted something different?
    Last edited by John Wilson; 08-10-2016 at 01:24 PM.
    John Wilson
    Microsoft PowerPoint MVP
    Amazing Free PowerPoint Tutorials
    http://www.pptalchemy.co.uk/powerpoi...tutorials.html

Posting Permissions

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