Hi all,
I have an early bind macro that is creating charts and pasting them into a PowerPoint template. Everything was working with no issues in office 2007. We have since upgraded all PCs to office 2010, and now the macro has serious trouble copying the charts across into the template.
It seems like it's trying to paste, before the copy operation has finished. If I debug, go to the template and paste, the chart is definitely in the clipboard, but hasn't pasted in with the "objPPApp.ActiveWindow.View.Paste" command.
I have tried a few things, including:
- Clearing the clipboard after every paste command;
- Adding a pause while Not Application.Ready;
- Significantly reducing array sizes; and
- Disable AV, Firewall, in case they're monitoring the clipboard.
None of these had any effect. The only thing that has (partially) worked is to add in an interrupt message box that pops up after every other go around the main loop (after 40 odd charts have been created/copied over), making me click on OK to continue.
Any thoughts/assistance would be much appreciated.
Regards
Barry