Invalid sheet identifier error

  • Thread starter Niranjan Marathe
  • Start date
N

Niranjan Marathe

Hi All,

I am trying to retrieve the name of the master for a shape dropped on the
diagram using "shape.Master.Name" property. This code somtimes gives me
"Invalid Sheet Identifier" error. Any suggestions or workarounds?

Thanks,

Niranjan Marathe
 
J

JuneTheSecond

Same error message might be got, when that particular shape is
not exists on the page. You might need to check if really the shape
exists on the page.
 
P

Paul Herber

Hi All,

I am trying to retrieve the name of the master for a shape dropped on the
diagram using "shape.Master.Name" property. This code somtimes gives me
"Invalid Sheet Identifier" error. Any suggestions or workarounds?

If the shape didn't come from a stencil then there will not be a
master name.
Try each of the following in turn with an exception handler until you
get correct data:
shape.master.nameU
shape.master.name
shape.nameU
shape.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