Distance control
If Hole_Spacing = "By Hole Centers" And Qty_x = 2 Then
OA_x = (Hole_C_x * Qty_x) / 2
ElseIf Hole_Spacing = "By Hole Centers" And Qty_x > 2 Then
OA_x = Hole_C_x * (Qty_x - 1)
End if
If Hole_Spacing = "By Hole Centers" And Qty_y = 2 Then
OA_y = (Hole_C_y * Qty_y) / 2
ElseIf Hole_Spacing = "By Hole Centers" And Qty_y > 2 Then
OA_y = Hole_C_y * (Qty_y - 1)
End If
Page 1 of 1