Changing Cell Property In master!!

Y

YOUNGHEE

I want to change Custom Properties in Master by using Database.


Dim mstObj As Visio.Master
Dim shpObj As Visio.Shape
Dim cellObj As Visio.Cell

For Each mstObj In docObj.Masters
Set shpObj = mstObj.Shapes(1)
Set cellObj = shpObj.Cells("Prop.Description")
 
Y

YOUNGHEE

Thank you for your answer.

You mean..

Dim mstObj As Visio.Master
Dim mstObjCopy As Visio.Master
Dim shpObj As Visio.Shape
Dim cellObj As Visio.Cell

For Each mstObj In docObj.Masters
Set mstObjCopy = mstobj.Open
Set shpObj = mstObjCopy.Shapes(1)
Set cellObj = shpObj.Cells("Prop.Description")
 

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