P
Pista
Hello!
I have the following code>
Dim vsoPage As Visio.Page
Dim vsoShape As Visio.Shape
Dim vsoCell As Visio.Cell
Dim myXMLContent As String
Set vsoPage = ActiveDocument.Pages("Catalog List")
Set vsoShape = vsoPage.Shapes("Sheet.1")
myXMLContent = FindElementContent("<my:Title_EN>",
XML2VSDForm.SourceTextBox.text)
If vsoShape.CellExists("Prop._VisDM_Title", visSectionProp) Then
Set vsoCell = vsoShape.Cells("Prop._VisDM_Title")
vsoShape.CellsSRC(visSectionProp, vsoCell,
visCustPropsValue).FormulaForceU = "MyValue"
End If
and line vsoShape.Cells("Prop._VisDM_Title") returns wrong cell. I got 0 (I
think the first row in Prop Section) and that is wrong, I need another one.
I think I just made a simple mistake, help me out, please
Thank you and have a good day!
Pista
I have the following code>
Dim vsoPage As Visio.Page
Dim vsoShape As Visio.Shape
Dim vsoCell As Visio.Cell
Dim myXMLContent As String
Set vsoPage = ActiveDocument.Pages("Catalog List")
Set vsoShape = vsoPage.Shapes("Sheet.1")
myXMLContent = FindElementContent("<my:Title_EN>",
XML2VSDForm.SourceTextBox.text)
If vsoShape.CellExists("Prop._VisDM_Title", visSectionProp) Then
Set vsoCell = vsoShape.Cells("Prop._VisDM_Title")
vsoShape.CellsSRC(visSectionProp, vsoCell,
visCustPropsValue).FormulaForceU = "MyValue"
End If
and line vsoShape.Cells("Prop._VisDM_Title") returns wrong cell. I got 0 (I
think the first row in Prop Section) and that is wrong, I need another one.
I think I just made a simple mistake, help me out, please
Thank you and have a good day!
Pista