A
Arash Ferdowsi
Hi,
I'm writing a VBA macro and am running into problems with shape counts. My
macro runs through all shapes on each page and performs a series of actions
on each shape. My problem arose because I've deleted/added shapes several
times and thus on most pages of my document, shape.count returns a number
much less than the highest shape ID. Is there any way to get the largest
shape ID on a page or a different work around? Also, I need to change the
active window to a different document, how can this be done? Thanks in
advance.
I'm writing a VBA macro and am running into problems with shape counts. My
macro runs through all shapes on each page and performs a series of actions
on each shape. My problem arose because I've deleted/added shapes several
times and thus on most pages of my document, shape.count returns a number
much less than the highest shape ID. Is there any way to get the largest
shape ID on a page or a different work around? Also, I need to change the
active window to a different document, how can this be done? Thanks in
advance.