Getting layer identifier

J

jarlen

I am currently building a macro that, when I double-click on a shape, the
shape and the other things in it's layer turns invisible, and so far it works.
Now I'd like to make the macro dynamic so that I can use the same macro for
all the shapes (which are in different layers) without c/p'ing the code.
This means that my macro needs to be able to identify which layer the shape
is a part of, and use that in the macro. Any ideas of how to figure out an
identifier for the layer, can I just use the layer name?
 

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