Iteration without using loop

Hey guys,

I would like to copy slides from a .ppt to a new presentation. First, the user should indicate a slide e.g. slide 3 in an input box. Afterwards, the bot sets up a new presentation and copies all slides i.e. slide 1 to 3 into the new presentation.

Copying a single slide works but I can’t get the bot to copy multiple slides at once until the threshold. A while-loop would take quite some time as every slide gets copied individually. Therefore, I was wondering if there is any workaround to copy all slides at once.

Any help is appreciated best regards :slight_smile:

Hi,

If there are many slides to copy, how about copy ppt file (as a file) then delete unnecessary slides?

Regards,

@fheyn
You can try using Macro to achieve it.Let me know if you need any help on it

Thank you for your reply :slight_smile:

So I guess what you mean is invoking VBA or Code directly in the sequence right?
Do you have any suggestion how this code should look like if I want to delete a whole section except the target section? :slight_smile:

Thanks in advance