How to edit Shape text in Visio without loosing formating using VB

S

Satish Nair

Hi,
I m trying to edit text of Visio Shapes programitically. But i m not able to
bring the dhape in Edit mode so that i can change the text using VBA. Can
anyone help.

Regards,
Satish Nair
 
M

Markus Breugst

Hi,

there are (at least) two possibilities:

1.: The text ist protexted. right-click on the shape, and go to Shape ->
Format -> Protection. Disable the "Text" checkbox
2.: If it is a group shape, look into the ShapeSheet. Inside the Table
"Group Properties", set the cell "IsTextEditTarget" to TRUE.

Best regards,
Markus
 
S

Satish Nair

Thanks for your help.

Regards,
Satish Nair

Markus Breugst said:
Hi,

there are (at least) two possibilities:

1.: The text ist protexted. right-click on the shape, and go to Shape ->
Format -> Protection. Disable the "Text" checkbox
2.: If it is a group shape, look into the ShapeSheet. Inside the Table
"Group Properties", set the cell "IsTextEditTarget" to TRUE.

Best regards,
Markus
 

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