View Single Post
 
Old 10-08-2015, 07:39 AM
mhagi mhagi is offline Windows 7 64bit Office 2010 64bit
Novice
 
Join Date: Oct 2015
Posts: 8
mhagi is on a distinguished road
Default 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
Reply With Quote