H
Hari Prasadh
Hi,
Is there already some code available which would: -
a) SPLIT A PPT - Given a presentation, store each SLIDE as separate
powerpoint files. If such a code is available I can customise it to my
needs. Basically I would use that code and save each slide in a different
folder (called Slide1, Slide 2 etc) and file names for each of those single
slide PPT's I would give based on a list which I have in excel (or
alternatively would make an array constant in ppt VBA which can read these
values).
I tried looking for a feature in PPT which could save the present slide as a
PPT (so that I could record a macro for point a) ) but couldnt find one.
Does PPT have an inbuilt feature for the same?
In the worst case I would resort to deleting all the files in my PPT except
first slide (using VBA) and then saving it in my way. Second step would be
delete all slides except slide2 and so on and on.
While on this topic I would like to ask about how to get a hold/pointer on a
slide. Does each slide have a unique ID? because if am going to retain only
the 73rd slide (in a PPT of 100 slides) then as am deleting rest slides one
by one my target slide number would have its ordinal number changed. Using a
counter variable I can probably keep on updating the target slide number (so
that i dont delete this slide) but is there a better method (unique slide ID
?)
b) SPLICE different PPT's - Given different PPT files in a folder all
containing SINGLE slides only I would like to create a new Powerpoint file
having the slides in all the PPT files of that folder. If I get this then I
can customize it to my need which is to read PPT files from folders named
(slide1, slide2 etc - created in point a) above) and then the single slide
within slide1 folder would become the first slide in New PPT file and the
single slide in slide2 folder would become the second slide in the New PPT
file and so on.
I tried recording a macro for b) using Insert - Slides from files- feature
but nothing got recorded in the macro. Why?
Also some related issues with splicing. Iam using Shyam's namebox and
renaming objects on a slide. I see that it is possible for Objects on 2
DIFFERENT slides to have the same name. I just wanted to be VBA sure (??!!)
about the same, because if as mentioned in b) am going to splice slides then
it might be possible that 2 slides from different PPT's have objects which
have same name. Once shyam advised this to me "Things to remember when
referring to shape by their names: 1. Bug in PowerPoint: If you have renamed
a shape using vba, a copy/paste of that shape will create a shape with the
same......" hence wanted to be sure of any similar things to keep in mind
when doing such slide movements.
Please guide me.
Thanks a lot,
Hari
India
Is there already some code available which would: -
a) SPLIT A PPT - Given a presentation, store each SLIDE as separate
powerpoint files. If such a code is available I can customise it to my
needs. Basically I would use that code and save each slide in a different
folder (called Slide1, Slide 2 etc) and file names for each of those single
slide PPT's I would give based on a list which I have in excel (or
alternatively would make an array constant in ppt VBA which can read these
values).
I tried looking for a feature in PPT which could save the present slide as a
PPT (so that I could record a macro for point a) ) but couldnt find one.
Does PPT have an inbuilt feature for the same?
In the worst case I would resort to deleting all the files in my PPT except
first slide (using VBA) and then saving it in my way. Second step would be
delete all slides except slide2 and so on and on.
While on this topic I would like to ask about how to get a hold/pointer on a
slide. Does each slide have a unique ID? because if am going to retain only
the 73rd slide (in a PPT of 100 slides) then as am deleting rest slides one
by one my target slide number would have its ordinal number changed. Using a
counter variable I can probably keep on updating the target slide number (so
that i dont delete this slide) but is there a better method (unique slide ID
?)
b) SPLICE different PPT's - Given different PPT files in a folder all
containing SINGLE slides only I would like to create a new Powerpoint file
having the slides in all the PPT files of that folder. If I get this then I
can customize it to my need which is to read PPT files from folders named
(slide1, slide2 etc - created in point a) above) and then the single slide
within slide1 folder would become the first slide in New PPT file and the
single slide in slide2 folder would become the second slide in the New PPT
file and so on.
I tried recording a macro for b) using Insert - Slides from files- feature
but nothing got recorded in the macro. Why?
Also some related issues with splicing. Iam using Shyam's namebox and
renaming objects on a slide. I see that it is possible for Objects on 2
DIFFERENT slides to have the same name. I just wanted to be VBA sure (??!!)
about the same, because if as mentioned in b) am going to splice slides then
it might be possible that 2 slides from different PPT's have objects which
have same name. Once shyam advised this to me "Things to remember when
referring to shape by their names: 1. Bug in PowerPoint: If you have renamed
a shape using vba, a copy/paste of that shape will create a shape with the
same......" hence wanted to be sure of any similar things to keep in mind
when doing such slide movements.
Please guide me.
Thanks a lot,
Hari
India