nikhilkumar
IS-IT--Management
I need to create a spiral figure and was looking for a spiral stencil for Visio 2003
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Private Sub CommandButton1_Click()
Dim mySpiral As Visio.Shape
Dim I As Integer
Dim xypts(1 To 500 * 2) As Double
For I = 1 To 500
'Set x components
xypts(I * 2 - 1) = 4 + (I / 300 * Cos(I / 20))
'Set y components
xypts(I * 2) = 3 + (I / 300 * Sin(I / 20))
Next I
Set mySpiral = ActivePage.DrawSpline(xypts, 0, visSplineAbrupt)
End Sub