+ Reply to Thread
Results 1 to 2 of 2

Coding works for WORD but not POWERPOINT, how should i modify it?

  1. #1
    Registered User
    Join Date
    03-16-2023
    Location
    Hong Kong
    MS-Off Ver
    window 10
    Posts
    1

    Coding works for WORD but not POWERPOINT, how should i modify it?

    I would like to insert every 6 pictures in a new slide of powerpoint with it's file name at the centre bottom of the image itself.

    The below coding works for word but not on powerpoint and i would like to do further editing.

    1) modify coding so it'll work on powerpoint as well
    2) current in word it's showing 1 image per page, can we modify to show 6 images per slide when it comes to powerpoint?
    3) the file name in word currently showing the format of the file e.g. jpg / .png, how could i skip that?
    4) the file name is showing on the bottom left in word, how can i make it centre bottom?

    Please Login or Register  to view this content.
    Moderator's note: Please take the time to review our rules. There aren't many, and they are all important. Rule #2 requires code tags. I have added them for you this time because you are a new member. --6StringJazzer
    Last edited by 6StringJazzer; 03-16-2023 at 11:02 PM.

  2. #2
    Registered User
    Join Date
    10-09-2023
    Location
    United Kingdom
    MS-Off Ver
    Business
    Posts
    2

    Re: Coding works for WORD but not POWERPOINT, how should i modify it?

    To modify your code for PowerPoint, ensure you're using the correct object references and methods. Create a new instance of PowerPoint application and a presentation. Add slides and modify their content using appropriate properties. Remember to specify the correct file path for saving the presentation. Utilize late binding with generic Object types for flexibility. Release objects properly to avoid memory leaks. Testing and adjusting the code according to your specific requirements is crucial for successful execution in PowerPoint.

+ 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. [SOLVED] Modify formula so that it works with alphanumeric data
    By Marbleking in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-04-2020, 01:04 PM
  2. Modify macro to look at active powerpoint
    By scruz9 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-01-2016, 02:09 AM
  3. Modify existing VBA coding to expand data retrieval
    By Saeber4777 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-06-2015, 12:16 AM
  4. Replies: 6
    Last Post: 10-26-2015, 05:51 AM
  5. Excel to Word macro doesn't work on Word 2013 if sheet is hidden (works fine on 2010)
    By dreddster in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-29-2015, 04:37 AM
  6. [SOLVED] Userform Login Errors - Works with One, but not the Other! *** CODING ERROR ***
    By JJFletcher in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2014, 05:26 PM
  7. [SOLVED] Modify vba coding so that the database updates correctly
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-13-2012, 02:31 AM

Tags for this Thread

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