• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1021
  • Last Modified:

Converting InlineShape to Shape and back

I want to tag InlineShapes with a unique identifier.  One way to do this is to convert the InlineShape to a Shape, set the Name property on the Shape, and then convert back to an InlineShape.  Then to get the key associated with an InlineShape, repeat the steps:  convert to a Shape, get the Name, and convert back to InlineShape.

My question is how much vulnerability does this introduce?  My sense is that there's a risk of an InlineShape with complex formatting, situated in a particular way inside of a table or frame, being reformatted or repositioned during this back and forth conversion.

  • 2
1 Solution
I've played around with this a bit, and found the process of conversion was more robust than I expected.  Not sure I would want to bet the farm on it though ...

An alternative might be to borrow the "AlternativeText" property and use this to record an ID.
Hello jkavx

I have done this once using "ConvertToInlineShape" & " ConvertToShape "

this link has some explaination


Happy Easter,

- George
jkavxAuthor Commented:

I've thought about using AlternativeText, but this can be edited in FormatPicture/Web.  Is there any way to hide this Web tab, or disable it so the Alternative Text can't be changed.
The only way I know to do this is by protecting the document (or sections of the document) but this also prevents lots of other changes as well.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now