P
PP
Hi Al
In this code below, I set fore-ground color using the code
vsoItem.Cells("Fillforegnd") = 1 and vsoItem.Cells("Fillforegnd") =
where 1 = White & 4 = Blue.
Can somebody tell me where can I get complete list of number & what color that stand for
Private Sub Document_DocumentOpened(ByVal doc As IVDocument
Dim vsoPage As Visio.Pag
Dim vsoDocument As Visio.Documen
Dim vsoDocuments As Visio.Document
Dim vsoPages As Visio.Page
Dim vsoItem As Visio.Shap
Dim vsoItems As Visio.Shape
'Iterate through all open documents
Set vsoDocuments = Application.Document
'---------------------------------------------
Dim vsoStyles As Visio.Style
Dim vsoStyle As Visio.Styl
'---------------------------------------------
For Each vsoDocument In vsoDocument
Set vsoPages = vsoDocument.Page
For Each vsoPage In vsoPage
Set vsoItems = vsoPage.Shape
For Each vsoItem In vsoItem
If Len(vsoItem.Name) >= 7 The
If LCase(Mid(vsoItem.Name, 1, 7)) = "process" The
MsgBox vsoItem.Characters.Tex
'--------------------------------------------------
' Now filling color in the boxe
'--------------------------------------------------
vsoItem.Cells("Fillforegnd") =
MsgBox vsoItem.Characters.Tex
vsoItem.Cells("Fillforegnd") =
'--------------------------------------------------
End I
End I
Nex
Nex
Nex
End Su
In this code below, I set fore-ground color using the code
vsoItem.Cells("Fillforegnd") = 1 and vsoItem.Cells("Fillforegnd") =
where 1 = White & 4 = Blue.
Can somebody tell me where can I get complete list of number & what color that stand for
Private Sub Document_DocumentOpened(ByVal doc As IVDocument
Dim vsoPage As Visio.Pag
Dim vsoDocument As Visio.Documen
Dim vsoDocuments As Visio.Document
Dim vsoPages As Visio.Page
Dim vsoItem As Visio.Shap
Dim vsoItems As Visio.Shape
'Iterate through all open documents
Set vsoDocuments = Application.Document
'---------------------------------------------
Dim vsoStyles As Visio.Style
Dim vsoStyle As Visio.Styl
'---------------------------------------------
For Each vsoDocument In vsoDocument
Set vsoPages = vsoDocument.Page
For Each vsoPage In vsoPage
Set vsoItems = vsoPage.Shape
For Each vsoItem In vsoItem
If Len(vsoItem.Name) >= 7 The
If LCase(Mid(vsoItem.Name, 1, 7)) = "process" The
MsgBox vsoItem.Characters.Tex
'--------------------------------------------------
' Now filling color in the boxe
'--------------------------------------------------
vsoItem.Cells("Fillforegnd") =
MsgBox vsoItem.Characters.Tex
vsoItem.Cells("Fillforegnd") =
'--------------------------------------------------
End I
End I
Nex
Nex
Nex
End Su