How do I determine how many points are in a points property

  • Thread starter Thread starter Madla
  • Start date Start date
M

Madla

The subject says it all;

I want to find out how many .points are in a node:

I was thinking I could do:

with aNode
u = ubound(.points(1))
end with

but that's not working I get a "runtime error 9 -- script out of range"

Any help would be greatly appreciated...martin

Martin Tschofen
 
Martin,
Create an error handler. Set the loop to the maximum count but stop once you
hit an error. That is the way to do it.
 
Martin,
I provide an answer in the wrong context. For free form shapes you can use
the count property to ascertain the number of Points.

ActivePresentation.Slides(1).Shapes(1).Nodes.Count
 

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

Back
Top