Hi
I've created a Visio document which runs a sub when opened...
This works fine, but if I then link the Visio diagram into Word I get an error when trying to update. I know it must be due to the vba referencing, but I hardly know Visio vba and I'm stuck.
TIA
Jonathan
I've created a Visio document which runs a sub when opened...
Code:
ThisDocument.Pages.Item(1).Shapes.ItemFromID(4).Characters.Text = Left(ActiveDocument.Name, Len(ActiveDocument.Name) - 4)
TIA
Jonathan