Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 09-27-2023, 04:17 AM
Dan_nn Dan_nn is offline Need Macro to Copy Notes from one PPT to another Windows 10 Need Macro to Copy Notes from one PPT to another Office 2021
Novice
 
Join Date: Apr 2023
Posts: 7
Dan_nn is on a distinguished road
Default

Hi again.

I see that you are calling the function correctly... wondering what could be the problem.

Please check the following:
- Both files ("PRHR MASK_TRAINING PRESENTATION_notes.pptx" and "PRHR MASK_TRAINING PRESENTATION_NOnotes.pptx") are already open and editable (make sure they are not opened as read only).
- The number of slides in each presentation matches and the starting slide number is similar (whether they start with slide #1 or slide #0).

When you enter the debug mode (where the yellow highlight shows up, in your second screenshot), hover your mouse over the "i" in "oSource.Slides(i)....." and it should show you the value of "i", which would be the slide number where the error occurred... this might help troubleshoot in case there's a particular slide causing the issue... if it's 1, that means it's happening in the first iteration, so there is something preventing the script from working...

You may want to also hove over each variable while stopped in debug mode to double check that each of them is loaded properly... that is, "mySource" and "myTarget" (should have the filenames), "oSource.Slides.Count" and "oTarget.Slides.Count" should both have a number (the count of slides in each presentation, that should be similar)...

Let's see if this helps you figure out what the problem is... I'm happy to take a look at your files if you wish, but I understand that sending your content to someone you don't know is not quite recommended
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
PowerPoint Macro - Copy and Replace pictures from one PPT to another PPT mrayncrental PowerPoint 2 06-09-2014 02:52 AM
Macro to copy formula from one cell to another anwar Excel Programming 1 04-25-2014 08:27 PM
Need Macro to Copy Notes from one PPT to another Word macro: copy from different tables into one table adisl Word VBA 4 03-25-2014 02:40 AM
Need Macro to Copy Notes from one PPT to another How to do an automation for copy paste, added new row (macro) jpol Excel Programming 1 03-01-2013 05:53 AM
Powerpoint copy notes no1_titch PowerPoint 0 09-07-2010 06:16 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft