Solucionado de una forma rebuscada jeje
Public Sub EliminarRegistro(ByVal xTabla As String, ByVal xLisView As ListView, xText As Boolean, ByVal xColum As Integer, ByVal xMensaje As String, ByVal xFocus As Control)
If xLisView.ListItems.Count = 0 Then
MsgBox "Debe seleccionar un registro para eliminar", vbInformation
xLisView.SetFocus
Else
Dim Msg As String
Msg = MsgBox("Esta seguro que va eliminar este registro..." & xMensaje, vbYesNo + vbInformation)
If Msg = vbYes Then
If xText = True Then
ComandoSQL = "DELETE FROM " & xTabla & " WHERE id=" & xLisView.SelectedItem.Text
Else
ComandoSQL = "DELETE FROM " & xTabla & " WHERE id=" & xLisView.SelectedItem.SubItems(xColum)
End If
cnADO.Execute ComandoSQL
End If
End If
End Sub
Private Sub cmdEliminar_Click()
Call EliminarRegistro("productos", LProductos, True, 0, "", LProductos)
End Sub