set UniqueId

B

bobotan

Hi everyone,

From SDK : By default, a shape does not have a unique ID. A shape acquires a
unique ID only if you set its UniqueID property.

My question : is there any way i can automaticaly set a uniqueid to shapes
without using vba?

Thank you !
 
A

Al Edlund

try something like this
' if a guid is not present create one

strUniqueId = visShape.UniqueID(visGetOrMakeGUID)



al
 

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