R
Rob Kraft
I am trying to modify the Text property of a shape within a shape. I
get an error message that the 'requested operation is presently
disabled'. I also notice that the propety IsOpenForTextEdit = false.
How do I set this to true with VBA?
Particularly, I am working with the UML stencil, Static Structure
diagram.
I have code that can create a class and give it a name, but I am
unable to add attributes. The Class Shape has a collection of 8
shapes. The 6th of these shapes is always name Attributes. I can use
the Visio interface to change the Text properties of Attributes, but
not VBA.
Any ideas?
shpObj.Name = "MyClass"
shpObj.Text = "MyClass"
shpObj.Shapes("Attributes").Text = "-Attrib1 : Boolean" 'This line
gets the error.
get an error message that the 'requested operation is presently
disabled'. I also notice that the propety IsOpenForTextEdit = false.
How do I set this to true with VBA?
Particularly, I am working with the UML stencil, Static Structure
diagram.
I have code that can create a class and give it a name, but I am
unable to add attributes. The Class Shape has a collection of 8
shapes. The 6th of these shapes is always name Attributes. I can use
the Visio interface to change the Text properties of Attributes, but
not VBA.
Any ideas?
shpObj.Name = "MyClass"
shpObj.Text = "MyClass"
shpObj.Shapes("Attributes").Text = "-Attrib1 : Boolean" 'This line
gets the error.