Zetrix
Advanced Premium Member
ciao mike vorrei tabellare questo listato in spaziolight ma mi da errore lo script
	
	
	
		
				
			
		Codice:
	
	Class Script
    Sub Main
        Dim Nu(9),Na(10),aN(5),Ru(1),Rt(7),Num1,Num2,Num3,Num4,Num5,Num6,Num7,Num8,Num9,Num10 As Integer
        Dim x, w, j , y ,a(7) , k, s , z , r , es ,Ruota  As Integer
        Dim ini As Integer = EstrazioniArchivio
        Dim fin As Integer = EstrazioniArchivio
        Dim aUscite(),esito,aUscite2(),esito2 As String
        Dim n1(2),n2(2),RuotaGioco(2),clp,clp2  As Integer
        x = InputBox("Quale 1 numero vuoi tabellare ?",,0)
        y = InputBox("Quale 2 numero vuoi tabellare ?",,0)
        For Ruota = 1 To 11
            For es = ini To fin
                Dim T() , stesto As String
                T = {" Ruota "," E1 "," E2 " ," Ruota "," Rt1"," Rt2"," Ruota","  Rt3 "," Data "}
                Call InitTabella(T,RGB(73,180,47),,,RGB(200,200,250),,"Dubai Light")
                RuotaGioco(1) = 11
                RuotaGioco(2) = 12
                aN(1) = Format2(x)
                aN(2) = Format2(y)
                a(1) = EstrattoRitardo(es,Ruota,x)
                a(2) = EstrattoRitardo(es,Ruota,y)
                a(3) = AmboRitardo(es,Ruota,x,y)
                Rt(1) = a(1)
                Rt(2) = a(2)
                Rt(3) = a(3)
                '----------------------------------------------------------------------------------
                T = {NomeRuota(Ruota),aN(1),aN(2),NomeRuota(Ruota),Rt(1),Rt(2),NomeRuota(Ruota),Rt(3),DataEstrazione(es)}
                Call AddRigaTabella(T,RGB(0,0,128),,,RGB(200,200,250),,"Dubai Light")
                'x = 0                  ' -> evidenzia numero in tabella
                'y = 0
                'If aN(1) And y =  Rt(1) Then Call SetColoreCellaRighe (1,RGB(255,204,0),RGB(0,0,255))
                'If aN(1) And y =  Rt(2) Then Call SetColoreCellaRighe (1,RGB(255,204,0),RGB(0,0,255))
                'If aN(1) And y =  Rt(3) Then Call SetColoreCellaRighe (1,RGB(255,204,0),RGB(0,0,255))
                'If aN(2) And y =  Rt(1) Then Call SetColoreCellaRighe (2,RGB(255,204,0),RGB(0,0,255))
                'If aN(2) And y =  Rt(2) Then Call SetColoreCellaRighe (2,RGB(255,204,0),RGB(0,0,255))
                'If aN(2) And y =  Rt(3) Then Call SetColoreCellaRighe (2,RGB(255,204,0),RGB(0,0,255))
                Call SetColoreCellaRighe(0,RGB(0,0,180),RGB(200,200,250))
                Call SetColoreCellaRighe(3,RGB(0,0,180),RGB(200,200,250))
                Call SetColoreCellaRighe(5,RGB(253,233,16),RGB(0,0,255))
                Call SetColoreCellaRighe(7,RGB(0,0,180),RGB(200,200,250))
                Call SetColoreCellaRighe(8,RGB(0,0,128),RGB(200,200,250))
                Call SetColoreCellaRighe(9,RGB(253,233,16),RGB(0,0,255))
                Call SetColoreCellaRighe(10,RGB(0,0,128),RGB(200,200,250))
                'Next
                CreaTabella
                'Scrivi (NomeRuota(Ruota) & " " & stesto)
            Next
        Next
    End Sub
End Class
	
			
				Ultima modifica: