selecting shape in header only
Hi,
i'm trying to count shapes in a specific Header only, i.e. how many shapes are in Primary Header of section 1 ( alt. how many shapes are in Primary footer of section 1). I have shapes in header and footer and want different actions for each. So I have to identify them separately.
activedocument.section(x).headers(wdheaderfooterpr imary).shapes.count
gives total number of all shapes in primary headersfooters.
I only want the number of shapes in Header and - ultimately - to do something with them.
How do I go about that?
Thanks in advance
|