Find a layer

M

mi00mf

Hallo,
is there a method to find if a named layer exist in a page without looping
layers collection.
I'm thinking on CellExists method but I'm not be able to find layer with it.
Please help me
 
D

David Parker

This is one of the requests that I have logged with Microsoft myself.
Currently, you need to loop thru the layers collection on each page, beause
the index number cn be different for the same name.
 
M

mi00mf

Thanks for your answer,
I tried to check this by CellExists method on PageSheet, but I failed
every attempt.
I'm waiting for a solution, if exists, wihout looping on layers collection.
Bye
 
D

David Parker

Don't wait too long!
Just loop the layers collection, it is quite straight forward.
 

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