P
P&L-EC
I have two questions about "Find & Replace" in Visio:
1. How can I use Find() Function and Replace() Function in Macro, I want to
replace a character in the variable ?
2. When I use the "Record New Macro" in Visio to record the "Replace...", it
record what Visio backend done (see below) , not what my done (Find with,
Replace with, ...).
Dim vsoCharacters3 As Visio.Characters
Set vsoCharacters3 =
Application.ActiveWindow.Page.Shapes.ItemFromID(9).Characters
vsoCharacters3.Begin = 3
vsoCharacters3.End = 4
vsoCharacters3.Text = "" & Chr(10) & ""
...
What is the REAL Macro code for "Edit > Replace..." ?
1. How can I use Find() Function and Replace() Function in Macro, I want to
replace a character in the variable ?
2. When I use the "Record New Macro" in Visio to record the "Replace...", it
record what Visio backend done (see below) , not what my done (Find with,
Replace with, ...).
Dim vsoCharacters3 As Visio.Characters
Set vsoCharacters3 =
Application.ActiveWindow.Page.Shapes.ItemFromID(9).Characters
vsoCharacters3.Begin = 3
vsoCharacters3.End = 4
vsoCharacters3.Text = "" & Chr(10) & ""
...
What is the REAL Macro code for "Edit > Replace..." ?