N
nick blades
i have been trying to save some information to a custom properties
file using the following code
Private Sub btn_OK_Click()
Dim thisshape As Visio.Shape
Set thisshape = Visio.ActiveWindow.Selection.Item(1)
thisshape.Cells("prop.Text").Formula = ufrm_pipename.txt_pipename.Text
ufrm_pipename.Hide
End Sub
The code above lets me save data when used in other applications but
when used in this case it doesn't seem to work and gives me a error
box which says
run-time error '-2032466907(86db0425)':
#NAME?
does anyone know what this means/how to get around the problem?
Your help will be most appreciated
Nick
file using the following code
Private Sub btn_OK_Click()
Dim thisshape As Visio.Shape
Set thisshape = Visio.ActiveWindow.Selection.Item(1)
thisshape.Cells("prop.Text").Formula = ufrm_pipename.txt_pipename.Text
ufrm_pipename.Hide
End Sub
The code above lets me save data when used in other applications but
when used in this case it doesn't seem to work and gives me a error
box which says
run-time error '-2032466907(86db0425)':
#NAME?
does anyone know what this means/how to get around the problem?
Your help will be most appreciated
Nick