R
Rock
I created a small sub to display faces and their ID numbers.
Problem is the sub will not run if the face is more than 79.
In this attached sub, if you replace 79 by a number more than 79, it
will end up by error.
Do you have any suggestion?
Thanks!
Rock
Sub faceID()
'Add the "Face IDs" toolbar
Toolbars.Add "Face IDs"
i0 = 1
For i = i0 To i0 + *79*
Toolbars("Face IDs").ToolbarButtons.Add i
With Toolbars("Face IDs").ToolbarButtons(i)
..Name = i
End With
Next i
Toolbars("Face IDs").Visible = True
End Sub
Problem is the sub will not run if the face is more than 79.
In this attached sub, if you replace 79 by a number more than 79, it
will end up by error.
Do you have any suggestion?
Thanks!
Rock
Sub faceID()
'Add the "Face IDs" toolbar
Toolbars.Add "Face IDs"
i0 = 1
For i = i0 To i0 + *79*
Toolbars("Face IDs").ToolbarButtons.Add i
With Toolbars("Face IDs").ToolbarButtons(i)
..Name = i
End With
Next i
Toolbars("Face IDs").Visible = True
End Sub