Needed help badly.. for runtime error

K

kiwilife

Hi,

I needed to make use of macros to do some checking. If the slideMaster
do not have a footer, I will add in one. If not I will just ignore. I
have a line of code to add in the footer in the master slide but i do
not know how to check if footer exist in the slideMaster a not. If
there is no footer the line of code will run well but if a footer is
already exist, it wil show me a run-time error message as shown below.
Does anyone know how to write macros to do a checking on the existance
of the footer. Help will be greatly appreciated. Thanks in advance.

Run-time error - '2147188160(80048240)':

Shape(unknown member) : Invalid request. Slide already contains maximun
placeholders of this type.
 
S

Shyam Pillai

Iterate thru the placeholder collection and check for the type. If you don't
get the footer then insert one else don't.
 
K

kiwilife

Shyam said:
Iterate thru the placeholder collection and check for the type. If you
don't
get the footer then insert one else don't.

--
Regards,
Shyam Pillai

Image Importer Wizard: http://skp.mvps.org/iiw.htm



"kiwilife" (e-mail address removed) wrote in message

Hi,

I needed to make use of macros to do some checking. If the
slideMaster
do not have a footer, I will add in one. If not I will just ignore. I
have a line of code to add in the footer in the master slide but i do
not know how to check if footer exist in the slideMaster a not. If
there is no footer the line of code will run well but if a footer is
already exist, it wil show me a run-time error message as shown
below.
Does anyone know how to write macros to do a checking on the
existance
of the footer. Help will be greatly appreciated. Thanks in advance.

Run-time error - '2147188160(80048240)':

Shape(unknown member) : Invalid request. Slide already contains
maximun
placeholders of this type.

Hi,

Thanks for your help but I'm unable to find coding on that. I
understand the concept you mention above but I have difficulties
implementing the coding. Can i get some help from you please. Thanks in
advane..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top