Buongiorno staff.
Avrei estrema necessità di aiuto per aggiornare un programma per gestione Tornei di Burraco che abbiamo creato circa 20 anni fa.
Posso inviare la Domanda ?
Moderatori: Anthony47, Flash30005
Si, certamente puoi porre una secondaPosso inviare la Domanda ?
Function Consolazione(ByRef Torneo0 As Range, ByRef Class0 As Range) As Variant
Dim Torneo0z As Range, Class0z As Range, aClass As Range
Dim I As Long, J As Long, hScore As Long, hPos As Long
Dim oArr(1 To 4)
Dim tPlayer1 As Long, tPoints As Long
Dim cPlayer1 As Long, cPosiz As Long, ccMatch As Variant
'
'Descrizioni
tPlayer1 = 1
tPoints = 4
'
cPlayer1 = 1
cPosiz = -1
'
'Ricerca:
Set aClass = Range(Class0, Class0.End(xlDown))
hScore = -9999: ccMatch = "cippa"
For I = 1 To 100
tp = Torneo0.Cells.Item(I, tPlayer1).Value
If Len(tp) = 0 Then Exit For
ccMatch = Application.Match(Torneo0.Cells(I, tPlayer1).Value, aClass, False)
If Not IsError(cMatch) Then
If ccMatch > 3 Then
If Torneo0.Cells(I, tPoints).Value > hScore Then
hScore = Torneo0.Cells(I, tPoints).Value
hPos = I
End If
End If
End If
Next I
'Compila e...
oArr(1) = Torneo0.Cells(hPos, tPlayer1)
oArr(2) = Torneo0.Cells(hPos, tPlayer1 + 1)
oArr(3) = Torneo0.Cells(hPos, tPoints)
oArr(4) = Application.Match(oArr(1), aClass, False)
'
'...restituisce il risultato:
Consolazione = oArr
End Function
=Consolazione(TORNEO!T8:U21;TORNEO!AB8)CONSOLAZIONE(RangeNominativiDellePartiteFoglioTORNEO; PrimaCellaClassificaFinaleFoglioTORNEO)
Non e' difficile...Purtroppo non ci capisco niente. Non saprei neanche come utilizzarla !!!
=INDICE(T8:W21;CONFRONTA(MAX((W8:W21)*(CONFRONTA(T8:T21;AB8:AB21;0)>3));W8:W21;0);{1\2\4})
Torna a Applicazioni Office Windows
| PC COMPAQ aggiornamento vecchi drivere nativi Autore: nikita75 |
Forum: Assistenza Hardware Risposte: 11 |
| Aggiornamento automatico intervallo grafici Autore: wallace&gromit |
Forum: Applicazioni Office Windows Risposte: 3 |
| Schermo nero dopo aggiornamento driver video, GPU nuova Autore: Pen061 |
Forum: Assistenza Hardware Risposte: 5 |
Visitano il forum: Nessuno e 31 ospiti